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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x88]
cmp ebx, 7
jle 0x4b06b0
mov edx, ebx
sub edx, ebp
mov dword [esp + 0x34], edx
lea ecx, [ebx*4]
mov dword [esp + 0x38], ecx
add ecx, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.0043c4b0
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.0043c4b0
mov edx, eax
mov ecx, dword [esp + 0x20]
lea eax, [ecx + ecx*2]
lea eax, [edx + eax + 4]
cmp eax, 8
jbe switch.0x004b06a0
mov ecx, dword [esp + 0x38]
lea edx, [esi + ecx]
mov dword [esp + 0x48], 0
lea ecx, [ebx + ebx]
mov dword [esp + 0x28], ecx
cmp ebx, 8
je 0x4b0751
lea eax, [esi + ecx*8]
mov dword [esp + 0x44], eax
lea eax, [ebx*8]
lea ecx, [esi + eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 0x20], eax
call fcn.004af5c0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.004af5c0
mov edx, ebx
sar edx, 1
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x20]
jge 0x4b0950
mov ecx, ebp
sub ecx, edx
cmp ecx, 0
je 0x4b095f
jle 0x4b09f0
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.004b03f0
mov eax, dword [esp + 0x28]
sub eax, ebp
sub eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x2c]
lea edx, [eax*4]
mov eax, dword [esp + 0x30]
lea edi, [eax + ebp*4]
cmp edx, 4
jae 0x4b07dc
test dl, 2
je 0x4b05e9
mov word [edi], 0
add edi, 2
and edx, 1
je 0x4b05f1
mov byte [edi], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.0043f1a0
mov edi, eax
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4b0920
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.0043f330
sub edi, eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.0043f1a0
add edi, eax
je 0x4b068c
add ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea edx, [eax + ebx*4]
mov eax, dword [edx]
add eax, edi
mov dword [edx], eax
cmp edi, eax
jbe 0x4b068c
lea esi, [esi]
add edx, 4
mov eax, dword [edx]
inc eax
mov dword [edx], eax
test eax, eax
je 0x4b0680
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
jmp dword [eax*4 + 0x54cd7c]
mov eax, ecx
add eax, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edx
lea ebx, [ebp + ebx]
mov dword [esp + 0x78], ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004aefb0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004af120
mov ecx, dword [esp + 0x38]
lea edx, [esi + ecx]
mov eax, ebx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x20], edx
call fcn.004af120
mov dword [esp + 0x48], 1
mov edx, dword [esp + 0x20]
lea ecx, [ebx + ebx]
mov dword [esp + 0x28], ecx
cmp ebx, 8
jne 0x4b04cf
lea eax, [esi + 0x40]
mov dword [esp + 0x34], eax
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0043f470
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0043f470
mov eax, dword [esp + 0x30]
add eax, 0x40
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call fcn.004aefb0
mov eax, dword [esp + 0x28]
sub eax, ebp
sub eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x2c]
lea edx, [eax*4]
mov ecx, dword [esp + 0x30]
lea edi, [ecx + ebp*4]
cmp edx, 4
jb 0x4b05dc
test edi, 1
jne 0x4b0bbd
test edi, 2
jne 0x4b0bad
mov ecx, edx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x4b05dc
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.004af120
mov ecx, dword [esp + 0x38]
lea edx, [esi + ecx]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
jmp 0x4b0729
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004af120
mov ecx, dword [esp + 0x38]
lea edx, [esi + ecx]
mov eax, ebx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x20], edx
call fcn.004af120
mov dword [esp + 0x48], 0
mov edx, dword [esp + 0x20]
jmp 0x4b04bf
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004af120
mov eax, dword [esp + 0x38]
lea edx, [esi + eax]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
jmp 0x4b08a5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.0043f1a0
lea edi, [eax + edi]
jmp 0x4b063d
mov ecx, dword [esp + 0x2c]
sub ecx, edx
cmp ecx, 0
jne 0x4b056b
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x14], eax
sub ebp, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 0x20], edx
call fcn.004af5c0
mov edx, dword [esp + 0x20]
add edx, edx
mov ebp, dword [esp + 0x28]
sub ebp, edx
add edx, dword [esp + 0x28]
shl ebp, 2
mov eax, dword [esp + 0x30]
lea edi, [eax + edx*4]
cmp ebp, 4
jae 0x4b0a90
test ebp, 2
je 0x4b09d6
mov word [edi], 0
add edi, 2
and ebp, 1
je 0x4b05f1
jmp 0x4b05ee
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov edi, ecx
cmp eax, 4
jae 0x4b0b40
test byte [esp + 0x4c], 2
jne 0x4b0b10
test byte [esp + 0x4c], 1
jne 0x4b0b00
cmp ebp, 0xf
jle 0x4b0ac0
mov ecx, dword [esp + 0x2c]
lea esi, [esi]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov edx, eax
cmp ebp, eax
jg 0x4b0b70
cmp ecx, eax
jg 0x4b0b70
cmp eax, ebp
je 0x4b0bc7
cmp eax, ecx
jne 0x4b0a30
xor edx, edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
sub ebp, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.004af5c0
jmp 0x4b05f1
test edi, 1
jne 0x4b0b2d
test edi, 2
jne 0x4b0b1d
mov ecx, ebp
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x4b09c6
cmp dword [esp + 0x2c], 0xf
jg 0x4b0a28
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004aefb0
jmp 0x4b05f1
mov byte [edi], 0
jmp 0x4b0a1f
mov word [edi], 0
add edi, 2
jmp 0x4b0a14
mov word [edi], 0
add edi, 2
sub ebp, 2
jmp 0x4b0aa4
mov byte [edi], 0
inc edi
dec ebp
jmp 0x4b0a9c
test cl, 1
jne 0x4b0be4
test edi, 2
jne 0x4b0bd2
mov ecx, dword [esp + 0x4c]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x4b0a09
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x14], edx
sub ebp, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call fcn.004b03f0
jmp 0x4b05f1
mov word [edi], 0
add edi, 2
sub edx, 2
jmp 0x4b07f4
mov byte [edi], 0
inc edi
dec edx
jmp 0x4b07e8
mov edx, dword [esp + 0x2c]
sub edx, ebp
jmp 0x4b0a59
mov word [edi], 0
add edi, 2
sub dword [esp + 0x4c], 2
jmp 0x4b0b55
mov byte [ecx], 0
inc edi
dec eax
mov dword [esp + 0x4c], eax
jmp 0x4b0b49