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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3ac
mov ebx, eax
mov ebp, ecx
cmp ecx, 1
je 0x440653
mov esi, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x50], esi
cmp esi, eax
jge 0x43fd38
mov dword [esp + 0x50], eax
cmp dword [esp + 0x50], 0x18
jg 0x440620
lea ecx, [esp + 0xc8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
add eax, 0x1c
mov dword [esp + 0x5c], eax
test esi, esi
jle 0x44067a
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*8]
lea esi, [esi]
mov edi, dword [eax]
mov dword [edx + 0x20], edi
mov edi, dword [eax + 4]
mov dword [edx + 0x28], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 0x2c], edi
mov edi, dword [eax + 8]
mov dword [edx + 0x24], edi
mov dword [edx + 0x1c], 0
add eax, 0x18
add edx, 0x1c
cmp eax, ecx
jne 0x43fd84
cmp dword [esp + 0x50], esi
jle 0x43fdfa
lea edx, [esi*4 + 4]
mov ecx, dword [esp + 0x54]
lea eax, [ecx + edx*8]
sub eax, edx
add eax, 4
mov ecx, dword [esp + 0x50]
sub ecx, esi
xor edx, edx
lea esi, [esi]
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
mov dword [eax - 4], 0
inc edx
add eax, 0x1c
cmp edx, ecx
jne 0x43fdd0
cmp ebp, 1
je 0x44059a
cmp ebp, 2
je 0x44053c
mov ebx, dword [esp + 0x50]
test ebx, ebx
jle 0x44066b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov edi, eax
mov dword [esp + 0x24], 0xa
xor esi, esi
lea ebx, [esp + 0x78]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov ebx, esi
mov dword [esp + 0x2c], ebp
mov ebp, edi
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43febd
test ebx, ebx
je 0x440535
mov esi, dword [esp + 0x1c]
cmp ecx, dword [esi]
je 0x440421
mov eax, esi
add eax, 8
xor edx, edx
jmp 0x43fe7a
mov esi, eax
add eax, 8
cmp ecx, dword [eax - 8]
je 0x440425
inc edx
cmp edx, ebx
jne 0x43fe6c
lea edx, [ebx*8]
cmp ebx, dword [esp + 0x24]
jge 0x4404b3
inc ebx
mov esi, dword [esp + 0x1c]
add esi, edx
mov dword [esi], ecx
mov dword [esi + 4], 0
xor edi, edi
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x440433
mov eax, dword [ebp + 0x20]
add eax, ecx
dec eax
cdq
idiv ecx
cmp eax, edi
jle 0x43febd
mov dword [esi + 4], eax
inc dword [esp + 0x20]
add ebp, 0x1c
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x20], edi
jne 0x43fe48
mov esi, ebx
mov ebp, dword [esp + 0x2c]
test ebx, ebx
je 0x43ff17
mov eax, edi
shl eax, 2
mov edx, dword [esp + 0x54]
lea ebx, [edx + eax*8]
sub ebx, eax
mov edi, dword [esp + 0x28]
nop
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x43ff10
mov eax, dword [esp + 0x1c]
xor edx, edx
lea esi, [esi]
cmp ecx, dword [eax]
je 0x440491
inc edx
add eax, 8
cmp edx, esi
jne 0x43ff00
add edi, 0x1c
cmp edi, ebx
jne 0x43fef0
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x1c], ebx
je 0x43ff30
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jle 0x44066b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov esi, eax
mov dword [esp + 0x64], 0
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x5c]
nop
add edi, dword [esi + 0x20]
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x43ff94
jmp 0x43ffa0
mov edx, dword [eax + 0x24]
mov ecx, ebx
sub ecx, edx
mov edx, ecx
shl edx, 2
lea ecx, [ebp + edx*8]
sub ecx, edx
mov edx, dword [eax + 0x54]
add edx, dword [ecx + 0x14]
cmp edx, edi
jle 0x43ff8d
mov dword [esi + 0x30], edx
mov edi, edx
mov eax, dword [eax + 0x50]
test eax, eax
je 0x43ffa0
cmp dword [esp + 0x1c], 1
jne 0x43ff6c
mov edx, dword [eax + 0x20]
jmp 0x43ff6f
inc ebx
add esi, 0x1c
cmp ebx, dword [esp + 0x50]
jne 0x43ff5c
mov dword [esp + 0x64], edi
mov ebp, dword [esp + 0x1c]
test edi, edi
js 0x440664
mov edx, dword [esp + 0x50]
shl edx, 2
mov ecx, dword [esp + 0x54]
lea eax, [ecx + edx*8]
sub eax, edx
mov edx, dword [esp + 0x20]
nop
mov dword [edx + 0x34], edi
add edx, 0x1c
cmp edx, eax
jne 0x43ffd0
mov ecx, dword [esp + 0x50]
dec ecx
test ecx, ecx
jle 0x440071
lea eax, [ecx*4]
mov ebx, dword [esp + 0x54]
lea edx, [ebx + eax*8]
sub edx, eax
add edx, 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x5c]
nop
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
test eax, eax
jne 0x440042
jmp 0x440050
mov ebx, dword [eax + 0x24]
mov edx, dword [eax + 0x54]
mov esi, ecx
sub esi, ebx
mov ebx, esi
js 0x44003b
mov esi, edi
sub esi, edx
shl ebx, 2
lea edx, [ebp + ebx*8]
sub edx, ebx
cmp esi, dword [edx + 0x18]
jge 0x44003b
mov dword [edx + 0x18], esi
mov eax, dword [eax + 0x50]
test eax, eax
je 0x440050
cmp dword [esp + 0x1c], 1
jne 0x440018
mov ebx, dword [eax + 0x20]
jmp 0x44001b
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, dword [edx + 8]
dec ecx
mov edi, dword [edx]
cmp eax, edi
jg 0x440068
mov edi, dword [esp + 0x20]
mov dword [edi], eax
mov edi, eax
sub dword [esp + 0x20], 0x1c
test ecx, ecx
jne 0x440008
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x50]
test edx, edx
jle 0x440370
lea esi, [esi]
mov edx, dword [esp + 0x40]
shl edx, 2
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esp + 0x5c]
add edx, eax
mov esi, dword [edx + 0x14]
mov dword [esp + 0x3c], esi
cmp esi, dword [edx + 0x18]
je 0x440339
mov ebx, dword [esp + 0x40]
inc ebx
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x50], ebx
jle 0x440604
lea ecx, [ebx*4]
mov esi, dword [esp + 0x5c]
lea edx, [esi + ecx*8]
sub edx, ecx
mov edi, dword [edx + 0x18]
mov dword [esp + 0x58], edi
cmp dword [edx + 0x14], edi
je 0x44011c
mov edx, dword [esp + 0x54]
lea eax, [edx + eax + 0x68]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x440100
mov esi, dword [eax]
add eax, 0x1c
mov ecx, dword [eax - 0x18]
cmp esi, ecx
je 0x440484
inc edx
cmp edx, edi
jne 0x4400f0
mov dword [esp + 0x2c], edx
shl edx, 2
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + edx*8]
sub eax, edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jg 0x44043d
lea edx, [ebx*4]
mov edi, dword [esp + 0x54]
lea eax, [edi + edx*8]
sub eax, edx
add eax, 0xc
mov edx, esi
sub edx, dword [esp + 0x40]
lea ecx, [edx + 1]
xor edx, edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], 0
xor esi, esi
xor edi, edi
add esi, dword [eax]
add edi, dword [eax - 8]
inc edx
add eax, 0x1c
cmp edx, ecx
jne 0x44015c
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x40]
lea edx, [ecx*4 - 4]
mov esi, dword [esp + 0x5c]
lea eax, [esi + edx*8]
sub eax, edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x58]
sub edi, eax
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44046a
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x60], ecx
shl ebx, 2
mov eax, dword [esp + 0x54]
lea eax, [eax + ebx*8]
sub eax, ebx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], ecx
jg 0x44033d
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0
xor edi, edi
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
mov dword [esp + 0x34], esi
jmp 0x440246
mov ebp, dword [ecx + 0xc]
add edi, ebp
mov eax, dword [esp + 0x34]
imul eax, edi
cdq
idiv dword [esp + 0x24]
mov edx, eax
sub edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
test ebp, ebp
jg 0x440330
mov esi, dword [ecx + 4]
mov dword [esp + 0x28], eax
add esi, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
add ebx, esi
cmp ebx, eax
jge 0x440235
mov ebx, eax
inc dword [esp + 0x1c]
add ecx, 0x1c
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x1c], esi
jg 0x4402bc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4401fc
inc edi
mov eax, dword [esp + 0x34]
imul eax, edi
cdq
idiv dword [esp + 0x24]
mov edx, eax
sub edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov ebp, 1
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 0x18]
lea edx, [esi + ebx]
add edx, dword [esp + 0x20]
cmp edx, eax
jle 0x440226
sub eax, esi
sub eax, ebx
imul eax, dword [esp + 0x24]
cdq
idiv ebp
cmp eax, dword [esp + 0x24]
jle 0x44029b
cdq
idiv dword [esp + 0x24]
imul eax, dword [esp + 0x24]
test eax, eax
jle 0x4403e6
add eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], ecx
jge 0x4401d3
lea esi, [esi]
mov ebp, dword [esp + 0x48]
sub ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x40]
xor ebx, ebx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x4c]
jmp 0x440322
mov eax, 1
add ecx, eax
mov eax, dword [esp + 0x1c]
imul eax, ecx
cdq
idiv dword [esp + 0x24]
mov edx, eax
sub edx, esi
add edx, dword [ebp + 4]
mov dword [ebp + 4], edx
add edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x3c]
jle 0x440306
mov dword [ebp + 0x14], edx
add ebp, 0x1c
cmp ebx, edi
je 0x440398
mov esi, dword [ebp - 8]
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x3c], esi
inc ebx
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4402dc
mov eax, dword [ebp + 0xc]
jmp 0x4402e1
mov dword [esp + 0x28], eax
jmp 0x44026e
inc dword [esp + 0x40]
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x50], ebx
jg 0x440088
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
shl ecx, 2
lea ebx, [eax + ecx*8]
sub ebx, ecx
nop
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x10], ecx
add eax, 0x1c
add edx, 0x18
cmp eax, ebx
jne 0x440360
mov ebx, dword [esp + 0x6c]
cmp dword [esp + 0x54], ebx
je 0x440389
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov eax, dword [esp + 0x64]
add esp, 0x3ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], ecx
jge 0x44033d
mov edx, dword [esp + 0x2c]
shl edx, 2
mov ecx, dword [esp + 0x54]
lea eax, [ecx + edx*8]
sub eax, edx
add eax, 0x18
xor edx, edx
mov ecx, dword [esp + 0x58]
jmp 0x4403c5
mov ecx, dword [eax]
sub eax, 0x1c
sub ecx, dword [eax + 8]
cmp ecx, dword [eax]
jge 0x4403ce
mov dword [eax], ecx
inc edx
cmp edx, edi
jne 0x4403c0
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x50], ebx
jg 0x440088
jmp 0x44034b
mov eax, dword [esp + 0x34]
dec eax
cmp eax, dword [esp + 0x60]
jle 0x4403ff
lea eax, [eax + eax*2]
test eax, eax
js 0x440523
sar eax, 2
cmp eax, dword [esp + 0x24]
jle 0x44040f
cdq
idiv dword [esp + 0x24]
imul eax, dword [esp + 0x24]
test eax, eax
jg 0x4402a3
mov eax, 1
jmp 0x4402a3
mov esi, dword [esp + 0x1c]
mov edi, dword [esi + 4]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jg 0x43fead
mov ecx, 1
jmp 0x43fead
mov esi, dword [esp + 0x40]
lea edx, [esi*4 - 4]
mov edi, dword [esp + 0x5c]
lea eax, [edi + edx*8]
sub eax, edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 1
jmp 0x4401aa
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], ecx
jmp 0x44011c
mov edx, dword [edi + 0x28]
test edx, edx
jle 0x44052b
imul edx, dword [eax + 4]
mov dword [edi + 0x20], edx
add edi, 0x1c
cmp edi, ebx
jne 0x43fef0
jmp 0x43ff17
mov ecx, dword [esp + 0x24]
shl ecx, 3
add dword [esp + 0x24], 0xa
mov eax, dword [esp + 0x24]
shl eax, 3
mov dword [esp], eax
mov eax, dword [0x68bb7c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, eax
mov esi, dword [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x1c], edi
mov edx, dword [esp + 0x14]
je 0x4405f8
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov ecx, dword [0x68bb7c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
call dword [ecx + 0x18]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
jmp 0x43fe90
add eax, 3
jmp 0x4403fc
mov edx, 1
jmp 0x44049c
xor edx, edx
jmp 0x43fe86
mov eax, dword [ebx]
test eax, eax
je 0x43fe0c
mov ebx, dword [esp + 0x5c]
jmp 0x440563
lea edx, [ebx + esi*8]
sub edx, esi
mov ecx, dword [edx]
mov dword [eax + 0x50], ecx
mov dword [edx], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x43fe0c
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x1c]
add edx, ecx
lea esi, [edx - 1]
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
add edx, dword [eax + 0x2c]
add edx, dword [eax + 0x3c]
add edx, dword [eax + 0x44]
mov dword [eax + 0x54], edx
shl esi, 2
dec ecx
jg 0x44054c
lea ecx, [ebx + esi*8]
sub ecx, esi
add edx, dword [ecx + 8]
cmp edx, dword [ecx + 4]
jle 0x440558
mov dword [ecx + 4], edx
jmp 0x440558
mov eax, dword [ebx]
test eax, eax
je 0x43fe0c
mov ebx, dword [esp + 0x5c]
jmp 0x4405c1
lea edx, [ebx + esi*8]
sub edx, esi
mov ecx, dword [edx]
mov dword [eax + 0x50], ecx
mov dword [edx], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x43fe0c
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
add edx, ecx
lea esi, [edx - 1]
mov edx, dword [eax]
mov edx, dword [edx + 0xb8]
add edx, dword [eax + 0x28]
add edx, dword [eax + 0x38]
add edx, dword [eax + 0x44]
mov dword [eax + 0x54], edx
shl esi, 2
dec ecx
jg 0x4405aa
lea ecx, [ebx + esi*8]
sub ecx, esi
add edx, dword [ecx + 8]
cmp edx, dword [ecx + 4]
jle 0x4405b6
mov dword [ecx + 4], edx
jmp 0x4405b6
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x43fe90
lea edx, [ebx*4]
mov edi, dword [esp + 0x5c]
lea eax, [edi + edx*8]
sub eax, edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x58], eax
jmp 0x44011c
mov eax, dword [esp + 0x50]
lea edx, [eax*4 + 4]
lea eax, [edx*8]
sub eax, edx
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov dword [esp + 0x54], eax
lea edx, [esp + 0xc8]
mov dword [esp + 0x6c], edx
jmp 0x43fd52
mov esi, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov edx, dword [edx]
mov dword [esp + 0x68], edx
jmp 0x43fd2c
xor edi, edi
jmp 0x43ffba
mov dword [esp + 0x64], 0
xor edi, edi
jmp 0x43ffda
xor esi, esi
jmp 0x43fdac