Function at 0x4b12bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebx + 0x74]
push dword [ebx + 0x80]
call fcn.004ae117
add esp, 0x10
mov si, word [ebp - 0x20c]
mov ax, word [ebp - 0x20a]
mov word [ebp - 2], ax
mov di, word [ebp - 0x208]
mov ax, word [ebp - 0x206]
mov word [ebp - 4], ax
mov edx, dword [ebp - 0x404]
mov dword [ebx + 0x78], edx
cmp dword [ebx + 0x78], 0
je 0x4b13e1
test dword [ebx + 0x78], 0x1ff
jne 0x4b13e1
mov ecx, dword [ebx + 0x80]
push dword [ecx + 8]
call fcn.004356c7
pop ecx
push edx
push eax
mov eax, dword [ebx + 0x78]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b1355
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b13e1
jmp 0x4b135d
pop edx
pop eax
jge 0x4b13e1
cmp word [ebp - 0x3f8], 0xf0
ja 0x4b13e1
movzx ecx, si
movzx eax, word [ebp - 2]
add ecx, eax
cmp ecx, 0x200
jg 0x4b13e1
movzx edx, di
movzx ecx, word [ebp - 4]
add edx, ecx
cmp edx, 0x200
jg 0x4b13e1
cmp si, di
jbe 0x4b13b7
movzx eax, di
movzx edx, word [ebp - 4]
add eax, edx
movzx ecx, si
cmp eax, ecx
jle 0x4b13ac
movzx eax, si
cmp byte [ebp + eax - 0x204], 0
jne 0x4b13b0
xor edx, edx
jmp 0x4b13dd
mov edx, 1
jmp 0x4b13dd
movzx ecx, si
movzx eax, word [ebp - 2]
add ecx, eax
movzx edx, di
cmp ecx, edx
jle 0x4b13d4
movzx ecx, si
cmp byte [ebp + ecx - 0x204], 0
jne 0x4b13d8
xor edx, edx
jmp 0x4b13dd
mov edx, 1
test edx, edx
je 0x4b13eb
xor eax, eax
mov dword [ebx + 0x78], eax
jmp 0x4b16c0
cmp word [ebp - 4], 0
jne 0x4b1406
cmp di, si
ja 0x4b13fb
mov ecx, esi
jmp 0x4b13ff
mov cx, pe_nt_image_headers32
sub cx, di
mov word [ebp - 4], cx
cmp word [ebp - 2], 0
jne 0x4b141d
cmp di, si
jae 0x4b1416
mov di, pe_nt_image_headers32
sub di, si
mov word [ebp - 2], di
movzx eax, word [ebp - 4]
inc eax
push eax
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov dword [ebx + 4], eax
movzx edx, word [ebp - 4]
push edx
lea ecx, [ebp - 0x204]
push ecx
push dword [ebx + 4]
call fcn.004c2aa2
add esp, 0xc
mov ax, word [ebp - 0x3f8]
mov word [ebx + 0x16], ax
movzx edx, word [ebx + 0x16]
add edx, 8
mov eax, 0x1f4
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x7c], ax
mov al, byte [ebp - 0x3f6]
mov byte [ebx + 0x1b], al
test byte [ebx + 0x1b], 1
setne dl
and edx, 1
mov dword [ebx + 0x20], edx
test byte [ebx + 0x1b], 2
setne cl
and ecx, 1
mov dword [ebx + 0x24], ecx
test byte [ebx + 0x1b], 4
setne al
and eax, 1
mov dword [ebx + 0x28], eax
xor edx, edx
mov dword [ebx + 0x38], edx
cmp dword [ebx + 0x24], 0
jne 0x4b14a8
cmp dword [ebx + 0x28], 0
jne 0x4b14a8
xor ecx, ecx
jmp 0x4b14ad
mov ecx, 1
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], eax
cmp word [ebp - 0x20e], 0
sete dl
and edx, 1
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x1c], edx
xor eax, eax
mov dword [ebx + 0x40], eax
cmp byte [ebp - 0x3f5], 1
jne 0x4b14ed
cmp byte [ebp - 0x211], 1
sete cl
and ecx, 1
mov dword [ebx + 0x44], ecx
jmp 0x4b14f2
xor eax, eax
mov dword [ebx + 0x44], eax
test byte [ebx + 0x1b], 0x80
jne 0x4b16c0
mov edx, dword [ebx + 4]
cmp byte [edx], 0
je 0x4b1522
push dword [ebx + 4]
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x140]
add esp, 8
cmp ax, 1
jne 0x4b152c
xor ecx, ecx
mov dword [ebx + 0x78], ecx
jmp 0x4b16c0
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + 0xc]
mov ecx, dword [edx + 0x1c]
mov dword [ebx + 0xc], ecx
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + 0xc]
mov edi, dword [edx + 0xec]
push 0
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x10]
add esp, 8
push dword [ebx + 0xc]
call fcn.00476751
pop ecx
push eax
call fcn.004acf50
pop ecx
and eax, 0xff
mov word [ebx + 0x14], ax
cmp word [ebx + 0x14], 0x43
jne 0x4b1590
mov dl, 0x20
jmp 0x4b1592
xor edx, edx
mov byte [ebx + 0x1a], dl
cmp word [ebx + 0x14], 0x43
jne 0x4b15ad
mov eax, dword [ebx + 0x80]
push dword [eax + 0xc]
call fcn.004aca13
pop ecx
jmp 0x4b15b2
xor ecx, ecx
mov dword [ebx + 0x44], ecx
push dword [ebx + 4]
mov eax, dword [ebx + 0x80]
push dword [eax + 0xc]
call fcn.004984df
add esp, 8
mov word [ebx + 0x18], ax
movzx edx, si
cmp byte [ebp + edx - 0x204], 0
je 0x4b1661
movzx ecx, word [ebp - 2]
inc ecx
push ecx
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov dword [ebx + 8], eax
movzx eax, word [ebp - 2]
push eax
movzx edx, si
lea ecx, [ebp - 0x204]
add edx, ecx
push edx
push dword [ebx + 8]
call fcn.004c2aa2
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x140]
add esp, 8
cmp ax, 1
jne 0x4b162b
xor eax, eax
mov dword [ebx + 0x78], eax
jmp 0x4b1661
mov edx, dword [ebx + 0x80]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0x80]
mov ecx, dword [edx + 0xc]
xor eax, eax
mov dword [ecx + 0x1c], eax
push dword [ebx + 0x10]
call fcn.00476751
pop ecx
push eax
call fcn.004acf50
pop ecx
cmp al, 0x4c
je 0x4b1661
xor edx, edx
mov dword [ebx + 0x78], edx
push edi
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
add esp, 8
cmp word [ebx + 0x16], 0xf0
ja 0x4b16bb
cmp word [ebx + 0x14], 0x55
je 0x4b16bb
cmp word [ebx + 0x14], 0x4e
jne 0x4b1691
cmp word [ebx + 0x16], 8
jne 0x4b16bb
cmp word [ebx + 0x14], 0x44
jne 0x4b169f
cmp word [ebx + 0x16], 8
jne 0x4b16bb
cmp word [ebx + 0x14], 0x54
jne 0x4b16ad
cmp word [ebx + 0x16], 8
jne 0x4b16bb
cmp word [ebx + 0x14], 0x4c
jne 0x4b16c0
cmp word [ebx + 0x16], 1
je 0x4b16c0
xor ecx, ecx
mov dword [ebx + 0x78], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret