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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov dword [esp + 0x18], edx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x43f8b0
mov ecx, dword [edx]
cmp word [ecx + 8], 0xd
ja 0x497dc8
mov eax, dword [edx + 4]
movzx ebx, word [eax + 8]
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
jne 0x497dbf
mov al, 1
or ah, 0xff
mov byte [edx + 0xc], ah
mov byte [edx + 0xd], al
test bl, 4
je 0x43f890
mov dword [esp + 0x10], 0x43fcf0
mov byte [edx + 0xb], 0
mov al, byte [esi + 0x44]
xor edi, edi
test al, al
jns 0x43fa50
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x497de9
mov al, byte [esi]
cmp al, 3
jae 0x497df1
mov eax, dword [esi + 8]
movzx ecx, byte [esi + 2]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
cmp ebx, dword [eax + 0x2c]
ja 0x497e16
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x30]
push ecx
push ebx
push eax
mov eax, dword [eax + 0xcc]
call eax
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x497e5f
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov dword [esi + 0x74], eax
cmp byte [eax], 0
je 0x43fad8
xor edi, edi
mov edx, dword [esi + 0x74]
mov byte [esi + 0x44], 0
mov al, byte [edx + 2]
mov byte [esi + 0x45], al
cmp byte [edx], 0
je 0x498102
movzx eax, byte [edx + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x498102
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x32], ax
cmp word [edx + 0x18], ax
jbe 0x43fc15
mov byte [esi], al
test edi, edi
jne 0x43fc2b
mov ebx, dword [esi + 0x74]
mov ecx, 1
sub ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
lea esp, [esp]
movzx eax, word [ebx + 0x18]
dec eax
mov dword [esp + 0x20], 0
mov edi, eax
mov dword [esp + 0x1c], eax
sar edi, cl
cmp dword [esp + 0x10], 0
mov word [esi + 0x46], di
je 0x43fafd
mov eax, dword [ebx + 0x40]
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, cx
movzx ecx, word [ebx + 0x1a]
and eax, ecx
add eax, dword [ebx + 0x44]
movzx edx, byte [eax]
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [ebx + 0xb]
cmp edx, ecx
ja 0x43fba4
push dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jns 0x43f77c
mov ecx, dword [esp + 0x1c]
lea edx, [edi + 1]
mov dword [esp + 0x20], edx
cmp edx, ecx
jg 0x43f792
lea edi, [ecx + edx]
sar edi, 1
jmp 0x43f724
jle 0x43f904
mov edx, dword [esp + 0x20]
lea ecx, [edi - 1]
mov dword [esp + 0x1c], ecx
jmp 0x43f771
or eax, 0xffffffff
cmp byte [ebx + 8], 0
jne 0x43f857
movzx eax, word [ebx + 0x18]
cmp edx, eax
jl 0x43f871
movzx ecx, byte [ebx + 9]
mov eax, dword [ebx + 0x38]
mov edi, dword [ecx + eax + 8]
mov al, byte [esi + 0x44]
movzx ecx, dx
mov edx, dword [esi + 0x14]
mov word [esi + 0x46], cx
mov dword [esp + 0x2c], edx
bswap edi
cmp al, 0x13
jge 0x49806b
and byte [esi + 1], 0xf9
xor ebx, ebx
movsx eax, al
mov word [esi + 0x32], bx
mov word [esi + eax*2 + 0x48], cx
movsx ecx, byte [esi + 0x44]
mov eax, dword [esi + 0x74]
mov dword [esi + ecx*4 + 0x78], eax
xor eax, eax
inc byte [esi + 0x44]
movzx ecx, byte [esi + 2]
mov word [esi + 0x46], ax
cmp edi, dword [edx + 0x2c]
ja 0x497f3f
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x43fce0
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov dword [esi + 0x74], ebx
cmp byte [ebx], al
je 0x43f924
mov ebx, dword [esi + 0x74]
cmp word [ebx + 0x18], 1
jb 0x498011
mov al, byte [ebx + 2]
cmp al, byte [esi + 0x45]
jne 0x498011
mov ecx, dword [esp + 0x34]
jmp 0x43f700
mov ecx, dword [ebp + 0x14]
mov word [esi + 0x46], di
mov dword [ecx], eax
xor edi, edi
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x40]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [ebx + 0x38]
mov edi, dword [ecx + eax]
jmp 0x43f7b3
test bl, 0x19
jne 0x497dc8
cmp dword [ecx + 0x14], 0
jne 0x497dc8
mov dword [esp + 0x10], 0x43fde0
jmp 0x43f630
cmp byte [esi], 0
jne 0x43fbd8
mov al, byte [esi + 1]
test al, 2
je 0x43fbd8
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
cmp edx, edi
jne 0x43fcb8
cmp ecx, ebx
je 0x43fca6
jg 0x43fbd8
jl 0x43f8ea
cmp edx, edi
jae 0x43fbd8
test al, 8
je 0x43fa84
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov word [esi + 0x46], di
mov dword [eax], 0
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xb], 0
je 0x43f860
jmp 0x498093
mov edx, dword [ecx + 8]
cmp edi, dword [edx + 4]
je 0x43f950
mov eax, dword [ecx + 4]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x48], ecx
mov dword [edx + 0x34], eax
mov dword [edx + 4], edi
cmp edi, 1
je 0x497f67
xor al, al
mov byte [edx + 9], al
mov ebx, dword [esi + 0x74]
mov al, byte [ebx + 9]
mov edi, dword [ebx + 0x34]
mov byte [esp + 0xf], al
movzx eax, al
add eax, dword [ebx + 0x38]
mov dword [esp + 0x2c], eax
movzx ecx, byte [eax]
mov al, 1
mov edx, ecx
mov dword [ebx + 0x4c], fcn.00459dd0
shr edx, 3
and ecx, 0xfffffff7
sub al, dl
mov byte [ebx + 8], dl
shl al, 2
mov byte [ebx + 0xa], al
cmp ecx, 5
je 0x43fc69
cmp ecx, 2
jne 0x497fce
mov word [ebx + 2], 0
mov dword [ebx + 0x50], 0x45ca73
mov ax, word [edi + 0x18]
mov word [ebx + 0xe], ax
movzx eax, word [edi + 0x1a]
mov word [ebx + 0x10], ax
mov al, byte [edi + 0x15]
mov edx, dword [esp + 0x2c]
movzx ecx, byte [ebx + 0xa]
mov esi, dword [ebx + 0x38]
mov byte [ebx + 0xb], al
movzx eax, word [edi + 0x20]
dec ax
mov byte [ebx + 0xc], 0
mov word [ebx + 0x1a], ax
movzx eax, byte [esp + 0xf]
add ax, 8
add cx, ax
lea eax, [edx + 8]
mov word [ebx + 0x12], cx
movzx ecx, byte [ebx + 0xa]
add eax, ecx
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x24]
add eax, esi
mov dword [ebx + 0x3c], eax
lea eax, [esi + ecx]
mov dword [ebx + 0x44], eax
movzx esi, byte [edx + 3]
movzx eax, byte [edx + 4]
shl si, 8
or si, ax
mov eax, 0xaaaaaaab
mov word [ebx + 0x18], si
mov ecx, dword [edi + 0x20]
sub ecx, 8
mul ecx
movzx eax, si
shr edx, 2
cmp eax, edx
ja 0x497f6e
mov dword [ebx + 0x14], 0xffffffff
mov byte [ebx], 1
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
and eax, 0x200000
or eax, 0
jne 0x497fb7
mov esi, dword [esp + 0x14]
jmp 0x43f834
mov edx, dword [esi + 0x74]
je 0x43f6ae
mov ecx, dword [edx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x497dd5
call fcn.0043f400
mov al, byte [esi + 0x44]
sub al, 1
mov byte [esi + 0x44], al
jne 0x43fc40
mov edx, dword [esi + 0x78]
mov dword [esi + 0x74], edx
jmp 0x43f6cb
add edx, 1
adc ecx, 0
cmp edx, edi
jne 0x43fbd8
cmp ecx, ebx
jne 0x43fbd8
mov eax, dword [ebp + 0x14]
push 0
push esi
mov dword [eax], 0
call fcn.0045cefc
add esp, 8
test eax, eax
jne 0x497db1
mov ecx, esi
call fcn.0045c934
cmp dword [esi + 0x20], edi
jne 0x43fbd8
cmp dword [esi + 0x24], ebx
jne 0x43fbd8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x28]
mov edx, ebx
call fcn.004561d5
mov ecx, dword [esi + 0x74]
add esp, 4
call fcn.0045958e
mov edi, eax
test edi, edi
je 0x43f69f
jmp 0x497e3b
mov cl, byte [ebx + 3]
mov byte [esp + 0xf], cl
mov eax, dword [ebx + 0x40]
movzx edx, word [ebx + 0x1a]
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, dx
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x44]
cmp byte [esp + 0xf], 0
jne 0x43fb8d
lea edx, [esp + 0x38]
call fcn.004717bd
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x38]
cmp ecx, edx
jg 0x43fb57
jl 0x43fb70
cmp eax, dword [ebp + 8]
jb 0x43fb70
cmp ecx, edx
jl 0x43fbe5
jg 0x43fb57
cmp eax, dword [ebp + 8]
jbe 0x43fbe5
mov edx, dword [esp + 0x20]
lea eax, [edi - 1]
mov dword [esp + 0x1c], eax
cmp edx, eax
jle 0x43fb83
mov eax, 1
jmp 0x43f792
mov eax, dword [esp + 0x1c]
lea edx, [edi + 1]
mov dword [esp + 0x20], edx
cmp edx, eax
jg 0x43f78f
lea edi, [eax + edx]
sar edi, 1
jmp 0x43fb04
cmp byte [ecx], 0x80
jb 0x43fba1
inc ecx
cmp ecx, dword [ebx + 0x3c]
jae 0x498043
cmp byte [ecx], 0x80
jae 0x43fb92
inc ecx
jmp 0x43fb25
mov cl, byte [eax + 1]
test cl, cl
js 0x497e9a
and edx, 0x7f
movzx ecx, cl
shl edx, 7
add edx, ecx
movzx ecx, word [ebx + 0xe]
cmp edx, ecx
ja 0x497e9a
push dword [esp + 0x24]
add eax, 2
push eax
push edx
call dword [esp + 0x1c]
jmp 0x43f75f
mov dword [esp + 0x10], 0
jmp 0x43f634
mov word [esi + 0x46], di
cmp byte [ebx + 8], 0
je 0x43fc8f
or byte [esi + 1], 2
mov dword [esi + 0x20], eax
xor eax, eax
mov word [esi + 0x32], ax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], ecx
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 8], al
je 0x497e67
mov byte [esi], 1
mov edi, 0x10
jmp 0x43f6e5
cmp edi, 0x10
je 0x43f8f2
jmp 0x43f868
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x497ddf
call fcn.0043f400
mov al, byte [esi + 0x44]
sub al, 1
mov byte [esi + 0x44], al
je 0x43fa79
jmp 0x43fc40
mov byte [ebx + 2], 1
test dl, dl
je 0x43fc96
mov eax, 0x45c970
mov cl, 1
mov byte [ebx + 3], cl
mov dword [ebx + 0x50], eax
mov ax, word [edi + 0x1c]
mov word [ebx + 0xe], ax
movzx eax, word [edi + 0x1e]
jmp 0x43f9ae
mov edx, edi
jmp 0x43f79c
mov dword [ebx + 0x4c], 0x45c265
mov eax, 0x4f9123
xor cl, cl
jmp 0x43fc78
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp ecx, ebx
jmp 0x43f8da
mov cl, byte [esi + 0x44]
mov al, cl
dec al
mov byte [esi + 0x44], al
movsx eax, cl
mov ebx, dword [esi + eax*4 + 0x74]
mov dword [esi + 0x74], ebx
test edi, edi
je 0x43f84e
jmp 0x43f862
mov edi, dword [esp + 0x18]
jmp 0x43fcbf
cmp eax, 0x65
jne 0x43f86a
jmp 0x43fbd8
or al, 0xff
mov ah, 1
jmp 0x43f619
mov dword [esp + 0x10], 0x50e69a
jmp 0x43f630
call fcn.00500eb3
jmp 0x43fa6b
call fcn.00500eb3
jmp 0x43fc59
mov byte [esi], 1
jmp 0x43f8f2
cmp al, 4
jne 0x497dfd
mov edi, dword [esi + 4]
jmp 0x43f6e5
push dword [esi + 0x10]
call fcn.0045984d
mov ebx, dword [esi + 0x40]
add esp, 4
mov dword [esi + 0x10], edi
mov byte [esi], 1
jmp 0x43f656
push 0x40ee44
push 0xff4b
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x497e57
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x497e57
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x497e52
call fcn.00500eb3
jmp 0x497e57
call fcn.0043f400
test edi, edi
je 0x43f6a1
mov byte [esi], 1
jmp 0x43fc2b
cmp dword [edx + 4], 1
je 0x497e7c
push 0x40ee44
push 0x10b1c
jmp 0x49810c
movzx ecx, byte [edx + 9]
mov eax, dword [edx + 0x38]
mov edx, dword [ecx + eax + 8]
mov ecx, esi
bswap edx
mov byte [esi], 0
call fcn.0045d052
mov edi, eax
jmp 0x43f6e5
movzx ecx, byte [ebx + 0xa]
add esi, 0x20
sub eax, ecx
push esi
push eax
mov eax, dword [ebx + 0x50]
push ebx
call eax
mov eax, dword [esi]
add esp, 0xc
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp eax, 2
jl 0x4980da
mov ecx, dword [esi + 0x14]
xor edx, edx
div dword [ecx + 0x24]
cmp eax, dword [ecx + 0x2c]
ja 0x4980da
mov eax, dword [esp + 0x28]
add eax, 0x12
cdq
push edx
push eax
call fcn.00459870
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4980d0
push 0
push eax
push dword [esp + 0x30]
xor edx, edx
mov word [esi + 0x46], di
mov ecx, esi
call fcn.0045cb8d
and byte [esi + 1], 0xfb
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4980bb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x28]
call fcn.0043ff40
push dword [esp + 0x34]
mov dword [esp + 0x34], eax
call fcn.0045984d
mov eax, dword [esp + 0x34]
jmp 0x43f75f
push 0x40ee44
push 0xff4b
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x43fcbf
mov al, 0x64
jmp 0x43f94a
push 0x40ee44
push 0xfeaf
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x43fcbf
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x498039
call fcn.00500eb3
jmp 0x43fcbf
mov ecx, ebx
call fcn.004f8cb3
mov dword [esp + 0x18], eax
test eax, eax
je 0x43fa47
mov edi, eax
jmp 0x497f91
push 0x40ee44
push 0xfe0b
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
push 0x40ee44
push 0xfea1
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x497f95
push 0x40ee44
push 0xff60
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x497f95
call fcn.0043f400
jmp 0x43fcbf
push 0x40ee44
push 0x10c20
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov eax, 0xb
jmp 0x43f86a
push 0x40ee44
push 0x10a85
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x43f862
push 0x40ee44
push 0x10c89
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x43f862
push dword [esp + 0x2c]
call fcn.0045984d
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x43f862
mov edi, 7
jmp 0x43f862
push 0x40ee44
push 0x10c6a
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
add esp, 0x14
mov edi, 0xb
jmp 0x43f862
push 0x40ee44
push 0x10b0f
push 0x40ede8
push 0x40edcc
push 0xb
call fcn.00512fdf
mov edi, 0xb
add esp, 0x14
jmp 0x43f868