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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x21a74
call fcn.00492040
mov eax, dword [0x4bde10]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
mov edi, ecx
mov ecx, dword [0x4be7e8]
push 0x49c2fc
mov esi, edx
mov dword [esp + 0x2c], eax
call fcn.0046f110
cmp dword [0x4be000], 4
jl 0x43e528
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0x10000
push 0x4a3300
call fcn.00470bd0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
push 0x1fffc
push ecx
lea edx, [esp + 0x1a8a]
push edx
mov word [esp + 0x1a8c], cx
call fcn.0048f720
add esp, 0xc
test esi, esi
je 0x43e660
cmp word [esi], 0
je 0x43e660
push 0x103
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004894f4
add esp, 0xc
push 3
lea edx, [esp + 0x7c]
xor ecx, ecx
push 0x4a33a8
push edx
mov word [esp + 0x28a], cx
call fcn.004883d2
add esp, 0xc
test eax, eax
sete bl
test bl, bl
je 0x43e5dc
lea eax, [esp + 0x78]
push 0x7d
push eax
call fcn.004876b1
add esp, 8
test eax, eax
je 0x43e667
cmp word [eax + 2], 0
je 0x43e667
lea eax, [esp + 0x78]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e5c0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x76], 0x5c
jne 0x43e5f0
jmp 0x43e667
lea ecx, [esp + 0x78]
push ecx
call dword [0x497120]
cmp eax, 0xffffffff
je 0x43e5f0
test al, 0x10
jne 0x43e667
lea edx, [esp + 0x78]
push 0x5c
push edx
call fcn.004883a4
mov esi, eax
add esp, 8
test esi, esi
je 0x43e62f
push 0xfffe
lea eax, [esi + 2]
push eax
lea ecx, [esp + 0x1a88]
push ecx
call fcn.004894f4
xor edx, edx
add esp, 0xc
xor eax, eax
mov word [esp + 0x21a7c], dx
mov word [esi], ax
jmp 0x43e667
test bl, bl
jne 0x43e667
push 0xfffe
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x1a88]
push edx
call fcn.004894f4
xor eax, eax
add esp, 0xc
xor ecx, ecx
mov word [esp + 0x21a7c], ax
mov word [esp + 0x78], cx
jmp 0x43e667
xor edx, edx
mov word [esp + 0x78], dx
test edi, edi
je 0x43e693
cmp word [edi], 0
je 0x43e693
push 0x3ff
lea eax, [esp + 0x1284]
push edi
push eax
call fcn.004894f4
add esp, 0xc
xor ecx, ecx
mov word [esp + 0x1a7e], cx
jmp 0x43e6b3
mov edx, dword [0x4c0bf4]
push edx
push str.Disable
mov esi, 0x400
lea edi, [esp + 0x1288]
call fcn.0046c6b0
add esp, 8
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa8a]
push ecx
mov word [esp + 0xa8c], ax
call fcn.0048f720
add esp, 0xc
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x28a]
push eax
mov word [esp + 0x28c], dx
call fcn.0048f720
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp word [esi], 0
je 0x43e763
push 0x28
push esi
call fcn.004876b1
add esp, 8
push 0x3ff
test eax, eax
je 0x43e7a8
add eax, 2
push eax
lea ecx, [esp + 0x288]
push ecx
call fcn.004894f4
add esp, 0xc
lea eax, [esp + 0x280]
xor edx, edx
push 0x29
push eax
mov word [esp + 0xa86], dx
call fcn.004883a4
add esp, 8
test eax, eax
je 0x43e74f
xor ecx, ecx
mov word [eax], cx
jmp 0x43e7c3
xor edx, edx
mov word [esp + 0x280], dx
xor edx, edx
mov word [esp + 0xa80], dx
push 0x54
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0048f720
mov ecx, dword [0x4ba3fc]
mov dword [esp + 0x2c], 0x58
mov eax, dword [ecx + 0x50]
add esp, 0xc
cmp eax, 0x63
jae 0x43e823
mov eax, dword [eax*4 + 0x4be5f8]
test eax, eax
je 0x43e823
mov edx, dword [eax]
mov dword [esp + 0x24], edx
jmp 0x43e82b
lea eax, [esp + 0x284]
push esi
push eax
call fcn.004894f4
add esp, 0xc
xor ecx, ecx
mov word [esp + 0xa7e], cx
cmp word [esp + 0x280], 0
je 0x43e759
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push case.0x446207.7
lea edx, [esp + 0x294]
push str.fileencoding
push edx
xor eax, eax
call fcn.0046ce50
add esp, 0x1c
push 0
push 0
push 0
lea eax, [esp + 0x28c]
push eax
mov ecx, esi
push 0
push ecx
push 0x4a33d4
mov esi, 0x400
lea edi, [esp + 0xa9c]
call fcn.0046c6b0
add esp, 0x1c
jmp 0x43e763
mov dword [esp + 0x24], 0
cmp word [esp + 0xa80], 0
lea eax, [esp + 0x1280]
mov dword [esp + 0x50], eax
je 0x43e84e
lea ecx, [esp + 0xa80]
mov dword [esp + 0x2c], ecx
jmp 0x43e856
mov dword [esp + 0x2c], 0x4a3418
movzx eax, word [esp + 0x78]
mov edi, dword [ebp + 8]
movzx esi, word [edi]
neg eax
sbb eax, eax
lea ecx, [esp + 0x78]
and eax, ecx
lea edx, [esp + 0x1a80]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0xfffe
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
test esi, 0xffffff80
jne 0x43e8a6
push 2
push esi
call fcn.00487b2e
add esp, 8
test eax, eax
je 0x43e8a6
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x4d
je 0x43e8ba
cmp eax, 0x53
jne 0x43e8c2
mov byte [esp + 0x1b], 1
jmp 0x43e8bf
mov byte [esp + 0x1a], 1
add edi, 2
mov eax, edi
call fcn.0040d620
test al, al
je 0x43e8dc
push 0x10
push 0
push edi
call fcn.00487f0b
add esp, 0xc
jmp 0x43e8e5
push edi
call fcn.00487b76
add esp, 4
mov dword [esp + 0x54], 0x80004
test al, 0x20
je 0x43e8f9
mov dword [esp + 0x54], 0x180004
test al, 0x10
je 0x43e902
or dword [esp + 0x54], 2
test al, 8
je 0x43e90e
or dword [esp + 0x54], 0x2000
cmp byte [esp + 0x1a], 0
jne 0x43e919
test al, 4
je 0x43e921
or dword [esp + 0x54], 0x200
test al, 2
je 0x43e92d
or dword [esp + 0x54], 0x800
test al, 1
je 0x43e939
or dword [esp + 0x54], 0x1000
mov eax, dword [0x4ba3fc]
mov bl, byte [eax + 0xe6]
push 0x4bf
mov byte [eax + 0xe6], 0
mov byte [eax + 0xe4], 1
call dword [0x4975c0]
shr eax, 0x10
test eax, eax
je 0x43e970
push 1
push 0xffffffffffffffff
call fcn.00401f60
add esp, 8
mov edx, dword [0x4bde6c]
push 0
push 0x403
push 0x44
push edx
call dword [0x497514]
mov edi, 1
add dword [0x4be000], edi
cmp byte [esp + 0x1b], 0
jne 0x43e9b4
mov eax, dword [esp + 0x54]
test al, 2
je 0x43e9a7
test eax, 0x2000
je 0x43e9b4
lea eax, [esp + 0x20]
push eax
call dword [0x497070]
jmp 0x43e9bf
lea ecx, [esp + 0x20]
push ecx
call dword [0x497074]
sub dword [0x4be000], edi
test bl, bl
mov esi, eax
mov eax, dword [0x4ba3fc]
sete dl
mov byte [eax + 0xe6], bl
mov byte [eax + 0xe4], dl
cmp word [0x4be7f0], 0
je 0x43e9f2
push 0x4be7f0
call dword [0x4972c4]
push edi
push 0
push 0xffffffffffffffff
test esi, esi
jne 0x43ea0e
mov ecx, dword [esp + 0x28]
push esi
call fcn.0046f110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4be7e8]
push 0x4998b0
call fcn.0046f110
test dword [esp + 0x54], 0x200
je 0x43eb0e
cmp byte [esp + 0x1a], 0
lea eax, [esp + 0x1a80]
je 0x43eaf0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ea41
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a82], cx
lea eax, [esp + 0x1a80]
jne 0x43ead0
push 0x5c
push eax
call fcn.004883a4
mov esi, eax
add esp, 8
test esi, esi
je 0x43eb0e
mov edx, esi
lea eax, [esp + 0x1a80]
sub edx, eax
and edx, 0xfffffffe
mov ecx, 0xa
mov word [esi], cx
cmp edx, 4
jne 0x43eb0e
cmp word [esi - 2], 0x3a
jne 0x43eb0e
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43eaa0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 2]
push esi
push edx
call fcn.00487350
mov eax, 0x5c
add esp, 0xc
mov word [esi], ax
jmp 0x43eb0e
cmp word [eax], 0
je 0x43eadf
add eax, 2
cmp word [eax], 0
jne 0x43ead6
cmp word [eax + 2], 0
je 0x43eb0e
mov ecx, 0xa
mov word [eax], cx
jmp 0x43ead0
cmp word [eax], 0
je 0x43eaff
add eax, 2
cmp word [eax], 0
jne 0x43eaf6
cmp word [eax + 2], 0
mov edx, 0xa
mov word [eax], dx
jne 0x43eaf0
mov ecx, dword [esp + 0x1c]
push edi
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1a8c]
push eax
call fcn.0046f110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8