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

Disassembly:
sub esp, 0x158
mov eax, dword [0x4922f8]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x174]
push ebx
mov ebx, dword [esp + 0x174]
push ebp
mov ebp, dword [esp + 0x174]
push esi
mov esi, dword [esp + 0x168]
push edi
mov edi, dword [esp + 0x174]
mov dword [esp + 0x4c], ebp
add ebp, edi
mov dword [esp + 0x18], eax
or eax, 0xffffffff
lea ecx, [ebp - 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
test ebx, 0xe20f5a6f
je 0x43adf8
mov eax, 0xfffffffd
jmp 0x43b882
cmp esi, eax
je 0x43b87d
cmp edi, eax
je 0x43b87d
cmp edx, eax
mov edx, dword [esp + 0x188]
jne 0x43ae1b
cmp edx, eax
jg 0x43b87d
cmp edx, eax
jge 0x43ae29
mov eax, 0xfffffff1
jmp 0x43b882
movzx edx, word [esi + 0x18]
add edx, esi
mov dword [esp + 0xc0], edx
movzx edx, word [esi + 0x1c]
mov dword [esp + 0xb8], edx
movzx edx, word [esi + 0x1a]
mov dword [esp + 0xbc], edx
mov edx, 0x989680
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x130], eax
cmp edx, eax
je 0x43aee8
mov edx, dword [edx]
mov dword [esp + 0x14], edx
test dl, 1
je 0x43ae93
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
test dl, 2
je 0x43aeaa
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x14]
test dl, 0x10
je 0x43aec1
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x14]
test dl, 4
je 0x43aed8
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x14]
test dl, 8
je 0x43aee8
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], eax
jne 0x43aef6
mov dword [esp + 0x10], 0x47b388
cmp dword [esi], 0x50435245
je 0x43af3d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x138]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
push esi
call fcn.00441750
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x43af2b
lea eax, [ecx - 4]
jmp 0x43b882
cmp dword [esp + 0x20], 0
je 0x43af3d
lea eax, [esp + 0x138]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
mov edx, eax
or edx, ebx
shr edx, 4
and edx, 1
mov dword [esp + 0x50], edx
movzx edx, word [ecx + 0xc]
shr edx, 3
shr eax, 0x12
and edx, 1
and eax, 1
mov dword [esp + 0x40], edx
movzx edx, word [ecx + 0x1c]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x1a]
imul edx, eax
movzx eax, word [ecx + 0x18]
add edx, esi
add eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x120], edx
mov dword [esp + 0x100], edi
add edi, eax
mov dword [esp + 0x104], edi
mov edx, dword [ecx + 8]
shr edx, 5
and edx, 1
mov dword [esp + 0xe8], edx
mov eax, dword [ecx + 8]
shr eax, 0xb
and eax, 1
mov dword [esp + 0xdc], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
shr eax, 0x1d
and eax, 1
mov dword [esp + 0xe4], eax
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
mov dword [esp + 0xe0], edx
mov eax, ebx
shr eax, 7
and eax, 1
mov edx, ebx
shr edx, 8
and edx, 1
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
mov eax, ebx
mov edx, ebx
shr eax, 0xa
shr edx, 0x1c
and eax, 1
and edx, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], edx
test ebx, 0x8000000
je 0x43b035
mov eax, 2
jmp 0x43b03d
mov eax, ebx
shr eax, 0xf
and eax, 1
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc8], eax
add eax, 0x340
xor edi, edi
mov dword [esp + 0xcc], eax
mov eax, ebx
and eax, 0x1800000
mov dword [esp + 0x114], esi
mov dword [esp + 0xf4], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0x12c], edi
je 0x43b0a2
cmp eax, 0x800000
je 0x43b095
cmp eax, 0x1000000
je 0x43b0bb
mov eax, 0xffffffe9
jmp 0x43b882
mov dword [esp + 0xf8], 1
jmp 0x43b0c2
mov eax, dword [ecx + 8]
test eax, 0x1800000
je 0x43b0bb
shr eax, 0x17
and eax, 1
mov dword [esp + 0xf8], eax
jmp 0x43b0c2
mov dword [esp + 0xf8], edi
test ebx, 0x700000
jne 0x43b0cf
mov eax, dword [ecx + 8]
jmp 0x43b0d1
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x43b132
je 0x43b12b
cmp eax, edi
je 0x43b0f1
cmp eax, 0x100000
je 0x43b124
cmp eax, 0x200000
jne 0x43b08b
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0xb0], edi
jle 0x43b15e
mov edx, eax
sar edx, 8
mov dword [esp + 0xb4], 2
mov byte [esp + 0xc4], dl
mov byte [esp + 0xc5], al
jmp 0x43b170
mov eax, 0xd
jmp 0x43b0f6
mov eax, 0xd0a
jmp 0x43b0f6
cmp eax, 0x400000
je 0x43b151
cmp eax, 0x500000
jne 0x43b08b
mov dword [esp + 0xb0], 2
jmp 0x43b170
mov dword [esp + 0xb0], 1
jmp 0x43b170
mov dword [esp + 0xb4], 1
mov byte [esp + 0xc4], al
cmp esi, edi
je 0x43b184
test byte [ecx + 0xc], 1
je 0x43b184
mov eax, 0xfffffff3
jmp 0x43b882
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
and eax, 7
mov dword [esp + 0x68], eax
mov eax, 0x55555556
imul dword [esp + 0x188]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + eax*2]
movzx eax, word [ecx + 0x12]
test ax, ax
jbe 0x43b1fa
movzx ecx, ax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x43b1fa
lea edi, [ecx + ecx*2 + 3]
lea ecx, [edi*4]
push ecx
call dword [0x492028]
mov esi, eax
add esp, 4
mov dword [esp + 0xa4], esi
test esi, esi
jne 0x43b1f0
lea eax, [esi - 6]
jmp 0x43b882
mov dword [esp + 0x3c], 1
jmp 0x43b205
mov esi, dword [esp + 0x28]
mov dword [esp + 0xa4], esi
lea ecx, [edi + edi]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xd0], 0
mov dword [esp + 0x11c], 0xffffffff
movzx eax, word [ecx + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [esp + 0x188]
mov dword [esp + 0x38], eax
jle 0x43b257
mov dword [esp + 0x38], edi
test esi, esi
je 0x43b294
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
mov edx, 1
lea ecx, [esi + edi*4]
sub edx, eax
lea eax, [ecx + edx*4]
sub ecx, 4
cmp ecx, eax
jb 0x43b294
jmp 0x43b280
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, eax
jae 0x43b280
mov esi, dword [esp + 0xa4]
cmp dword [esp + 0x50], 0
mov ecx, dword [esp + 0x1c]
jne 0x43b2ee
test byte [ecx + 0xc], 2
je 0x43b2d2
movzx eax, word [ecx + 0x14]
mov edx, eax
and edx, 0xff
shr eax, 8
and eax, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x58], eax
je 0x43b2ee
mov eax, dword [esp + 0xc8]
movzx edx, byte [eax + edx]
mov dword [esp + 0x24], edx
jmp 0x43b2ee
cmp dword [esp + 0x40], 0
jne 0x43b2ee
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43b2ee
test byte [eax + 4], 1
je 0x43b2ee
add eax, 8
mov dword [esp + 0x2c], eax
test byte [ecx + 0xc], 4
je 0x43b31e
movzx eax, word [ecx + 0x16]
mov ecx, eax
and ecx, 0xff
shr eax, 8
and eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
movzx ecx, byte [eax + ecx + 0x100]
mov dword [esp + 0x60], ecx
and ebx, 0x4000000
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x10], ebx
test esi, esi
je 0x43b35b
mov edx, dword [esp + 0x38]
lea ecx, [esi + edx*4]
cmp esi, ecx
jae 0x43b35b
sub ecx, esi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xb4]
cmp dword [esp + 0x48], 0
je 0x43b3ee
mov eax, dword [esp + 0x104]
mov esi, ebp
cmp ebp, eax
jae 0x43b3e1
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
test edi, edi
je 0x43b3b8
push ebx
lea ecx, [esp + 0xb8]
push ecx
push eax
push edi
push esi
call fcn.004415b0
add esp, 0x14
test eax, eax
jne 0x43b3e1
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
jmp 0x43b3dc
mov edx, eax
sub edx, ecx
cmp esi, edx
ja 0x43b3dc
mov dl, byte [esi]
cmp dl, byte [esp + 0xc4]
jne 0x43b3dc
cmp ecx, 1
je 0x43b3e1
mov dl, byte [esi + 1]
cmp dl, byte [esp + 0xc5]
je 0x43b3e1
inc esi
cmp esi, eax
jb 0x43b385
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x14], esi
mov ebx, esi
cmp dword [esp + 0x5c], 0
jne 0x43b546
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x43b458
cmp dword [esp + 0x58], 0
je 0x43b43a
cmp ebp, ebx
jae 0x43b546
mov eax, dword [esp + 0xc8]
jmp 0x43b420
movzx edx, byte [ebp]
movzx edx, byte [edx + eax]
cmp edx, ecx
je 0x43b546
inc ebp
cmp ebp, ebx
jb 0x43b420
jmp 0x43b546
cmp ebp, ebx
jae 0x43b546
movzx eax, byte [ebp]
cmp eax, ecx
je 0x43b546
inc ebp
cmp ebp, ebx
jb 0x43b442
jmp 0x43b546
cmp dword [esp + 0x40], 0
je 0x43b518
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x100]
lea edx, [eax + ecx]
cmp ebp, edx
jbe 0x43b546
cmp ebp, ebx
jae 0x43b4f4
jmp 0x43b487
mov eax, dword [esp + 0x100]
cmp dword [esp + 0xb0], 0
je 0x43b4c8
cmp ebp, eax
jbe 0x43b4ef
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xb8]
push ecx
push edx
push eax
push ebp
call fcn.00441680
add esp, 0x14
test eax, eax
jne 0x43b4f4
mov edi, dword [esp + 0xb4]
jmp 0x43b4ef
lea ecx, [edi + eax]
cmp ebp, ecx
jb 0x43b4ef
mov dl, byte [esp + 0xc4]
mov eax, ebp
sub eax, edi
cmp byte [eax], dl
jne 0x43b4ef
cmp edi, 1
je 0x43b4f4
mov cl, byte [esp + 0xc5]
cmp byte [eax + 1], cl
je 0x43b4f4
inc ebp
cmp ebp, ebx
jb 0x43b480
cmp byte [ebp - 1], 0xd
jne 0x43b546
mov eax, dword [esp + 0xb0]
cmp eax, 1
je 0x43b50b
cmp eax, 2
jne 0x43b546
cmp ebp, ebx
jae 0x43b546
cmp byte [ebp], 0xa
jne 0x43b546
inc ebp
jmp 0x43b546
cmp dword [esp + 0x2c], 0
je 0x43b546
cmp ebp, ebx
jae 0x43b546
movzx eax, byte [ebp]
mov ecx, eax
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x2c]
shr eax, 3
mov al, byte [eax + ecx]
test al, dl
jne 0x43b546
inc ebp
cmp ebp, ebx
jb 0x43b523
cmp dword [esp + 0x5c], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
jne 0x43b5ec
cmp dword [esp + 0x114], 0
jne 0x43b5ec
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43b57e
test byte [eax + 4], 2
je 0x43b57e
mov ecx, edx
sub ecx, ebp
cmp ecx, dword [eax + 0x28]
jb case.0x43b665.998
mov esi, dword [esp + 0x54]
test esi, esi
jl 0x43b5ec
mov eax, edx
sub eax, ebp
cmp eax, 0x3e8
jge 0x43b5ec
xor eax, eax
cmp dword [esp + 0x24], eax
setge al
add eax, ebp
cmp eax, dword [esp + 0x44]
jbe 0x43b5ec
cmp dword [esp + 0x64], 0
je 0x43b5c8
cmp eax, edx
jae case.0x43b665.998
mov edi, dword [esp + 0x60]
movzx ecx, byte [eax]
inc eax
cmp ecx, esi
je 0x43b5e3
cmp ecx, edi
je 0x43b5e3
cmp eax, edx
jb 0x43b5b1
xor edi, edi
jmp 0x43b75d
cmp eax, edx
jae case.0x43b665.998
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
cmp ecx, esi
je 0x43b5e3
cmp eax, edx
jb 0x43b5d0
xor edi, edi
jmp 0x43b75d
dec eax
cmp eax, edx
jae case.0x43b665.998
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0xfc]
push 0
push 0
push 0
push edx
lea eax, [esp + 0xa8]
push eax
push 2
push 0
push ebp
push ecx
push ebp
mov dword [esp + 0x130], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0xc0], 0
call fcn.00436f50
add esp, 0x28
cmp dword [esp + 0xf4], 0
mov edi, eax
je 0x43b64c
cmp dword [esp + 0x34], 0
jne 0x43b64c
mov edx, dword [esp + 0x110]
mov dword [esp + 0x34], edx
test edi, edi
jg case.default.0x43b665
je case.0x43b665.997
lea eax, [edi + 0x3e6]
cmp eax, 4
ja case.default.0x43b665
jmp dword [eax*4 + 0x43b89c]
mov eax, dword [esp + 0x108]
mov ebx, eax
cmp eax, ebp
jne 0x43b67c
lea ebx, [ebp + 1]
xor edi, edi
cmp dword [esp + 0x48], edi
je 0x43b6f1
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x43b6bc
mov eax, dword [esp + 0x104]
cmp ebp, eax
jae 0x43b6f1
mov edx, dword [esp + 0x30]
push edx
lea edx, [esp + 0xb8]
push edx
push eax
push ecx
push ebp
call fcn.004415b0
add esp, 0x14
test eax, eax
jne 0x43b75d
jmp 0x43b6f1
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0xb4]
sub ecx, eax
cmp ebp, ecx
ja 0x43b6f1
mov dl, byte [esp + 0xc4]
cmp byte [ebp], dl
jne 0x43b6f1
cmp eax, 1
je 0x43b75d
mov al, byte [esp + 0xc5]
cmp byte [ebp + 1], al
je 0x43b75d
cmp dword [esp + 0x50], 0
mov ebp, ebx
jne 0x43b75d
mov esi, dword [esp + 0x10]
cmp ebx, esi
ja 0x43b761
cmp byte [ebx - 1], 0xd
jne 0x43b739
cmp ebx, esi
jae 0x43b739
cmp byte [ebx], 0xa
jne 0x43b739
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xc], 0x20
jne 0x43b739
mov eax, dword [esp + 0xb0]
cmp eax, 1
je 0x43b736
cmp eax, 2
je 0x43b736
cmp dword [esp + 0xb4], 2
jne 0x43b739
lea ebp, [ebx + 1]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x134], 0
jmp 0x43b328
cmp edi, 1
je 0x43b7c9
cmp edi, 0xfffffc19
je 0x43b7c9
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x3c], 0
je 0x43b779
mov edx, dword [esp + 0xa4]
push edx
call dword [0x49202c]
add esp, 4
test edi, edi
je 0x43b789
cmp edi, 0xfffffff4
je 0x43b789
mov eax, edi
jmp 0x43b882
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43b7c1
cmp dword [esp + 0x188], 1
mov dword [esp + 0x134], 0
jle 0x43b7b7
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
sub ecx, eax
sub esi, eax
mov dword [edx], ecx
mov dword [edx + 4], esi
mov eax, 0xfffffff4
jmp 0x43b862
or eax, 0xffffffff
jmp 0x43b862
cmp dword [esp + 0x3c], 0
mov esi, dword [esp + 0x188]
je 0x43b81d
cmp esi, 4
mov edi, dword [esp + 0xa4]
jl 0x43b7ff
mov edx, dword [esp + 0x28]
lea eax, [esi*4 - 8]
push eax
lea ecx, [edi + 8]
push ecx
add edx, 8
push edx
call fcn.00444510
add esp, 0xc
cmp dword [esp + 0x118], esi
jle 0x43b813
mov dword [esp + 0xd0], 1
push edi
call dword [0x49202c]
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x43b82b
xor eax, eax
jmp 0x43b837
mov eax, dword [esp + 0x118]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x43b840
xor eax, eax
jmp 0x43b862
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0x108]
mov edx, dword [esp + 0x28]
sub esi, ecx
mov dword [edx], esi
mov esi, dword [esp + 0x10c]
sub esi, ecx
mov dword [edx + 4], esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43b882
test byte [ecx], 0x20
je 0x43b882
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x134]
mov dword [ecx], edx
jmp 0x43b882
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00442777
add esp, 0x158
ret