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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x3c0
push ebx
push esi
push edi
mov esi, ecx
call fcn.005d3eb7
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp dword [eax + 0xe4c], ebx
je 0x5d4b2f
mov ecx, dword [eax + 0xa30]
push 0x3024a6e8
call fcn.005fef46
cmp eax, ebx
mov dword [ebp + 0x60], eax
jne 0x5d443f
cmp byte [0x302b7640], bl
jne 0x5d443f
mov edi, 0x9c
push edi
lea eax, [ebp - 0x100]
push ebx
push eax
mov byte [0x302b7640], 1
mov dword [ebp + 0x6c], 1
call fcn.0073d4f0
add esp, 0xc
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], edi
mov edi, dword [0x3023f33c]
push eax
call edi
test eax, eax
jne 0x5d43b1
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x100], 0x94
call edi
test eax, eax
je 0x5d443f
cmp dword [ebp - 0xf0], 2
jb 0x5d43da
jne 0x5d43e2
cmp dword [ebp - 0xfc], 5
jae 0x5d43c8
mov dword [ebp + 0x6c], ebx
cmp dword [ebp - 0xfc], 6
jb 0x5d43dd
mov byte [0x302b7641], 1
jmp 0x5d43dd
mov dword [ebp + 0x6c], ebx
cmp dword [ebp + 0x6c], ebx
je 0x5d443f
mov edi, dword [0x3023f1a8]
push 0x3024a6dc
call edi
cmp eax, ebx
mov dword [0x302b763c], eax
je 0x5d441e
push 0x3024a6c8
push eax
call dword [0x3023f1a4]
test eax, eax
je 0x5d441e
push 0x3024a6b4
push dword [0x302b763c]
call dword [0x3023f1a4]
mov dword [0x302b7630], eax
push 0x3024a6a8
call edi
cmp eax, ebx
mov dword [0x302b7638], eax
je 0x5d443f
push 0x3024a698
push eax
call dword [0x3023f1a4]
mov dword [0x302b7634], eax
cmp byte [0x302b7641], bl
je 0x5d4457
mov dword [0x30289634], 1
mov dword [0x30289638], ebx
mov dword [ebp + 0x6c], ebx
mov eax, dword [ebp + 0x6c]
cmp dword [eax*4 + 0x30289634], ebx
jne 0x5d48a4
cmp dword [ebp + 0x60], ebx
jne 0x5d48a4
cmp dword [0x302b7630], ebx
je 0x5d48a4
cmp dword [ebp + 0x78], 0x800
jge 0x5d48a4
cmp dword [ebp + 0x7c], 0x800
jge 0x5d48a4
push 0x18
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0073d4f0
mov ecx, dword [esi + 0x20]
add esp, 0xc
push 1
call 0x5c95fe
push eax
call dword [0x3023f4cc]
push 0x3024a680
push dword [0x302b763c]
mov dword [ebp - 0x64], eax
call dword [0x3023f1a4]
cmp eax, ebx
je 0x5d44de
push 1
lea ecx, [ebp - 0x64]
push ecx
push 0x300cc020
call eax
mov al, byte [ebp - 0x50]
neg al
push ebx
lea ecx, [ebp - 0x60]
lea edi, [esi + 0x58]
push edi
sbb eax, eax
and eax, ecx
push eax
call dword [0x302b7630]
test eax, eax
jne 0x5d4543
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esi + 0x5c]
push ecx
push 0x30248350
push eax
call dword [edx]
test eax, eax
mov eax, dword [edi]
jne 0x5d453a
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
push 8
mov dword [ebp + 0x68], eax
call 0x5c95fe
push eax
mov eax, dword [ebp + 0x68]
lea edi, [esi + 0x58]
push dword [edi]
call dword [eax + 0x50]
test eax, eax
je 0x5d4545
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov dword [esi + 0x5c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
cmp dword [esi + 0x14], ebx
jne 0x5d48a4
cmp dword [edi], ebx
je 0x5d48a4
cmp dword [esi + 0x5c], ebx
je 0x5d48a4
mov ecx, dword [esi + 0x20]
call 0x5c95fe
test eax, eax
je 0x5d48a4
mov edi, 0x17c
push edi
lea eax, [ebp - 0x350]
push ebx
push eax
call fcn.0073d4f0
mov eax, dword [esi + 0x5c]
add esp, 0xc
push ebx
lea edx, [ebp - 0x350]
push edx
mov dword [ebp - 0x350], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x5d4854
test byte [ebp - 0x1e3], 2
je 0x5d48a4
test byte [ebp - 0x1e1], 2
jne 0x5d48a4
cmp dword [ebp - 0x310], 0x400000
jae 0x5d45d6
cmp dword [ebp - 0x314], ebx
ja 0x5d4854
push 0x7c
pop edi
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0073d4f0
mov eax, dword [esi + 0x5c]
add esp, 0xc
push ebx
lea ecx, [esi + 0x60]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 1
mov dword [ebp + 0x3c], 0x200
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
test eax, eax
jne 0x5d4854
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
push ebx
lea edi, [esi + 0x68]
push edi
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x5d4854
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov edi, dword [eax]
call 0x5c95fe
push eax
push ebx
push dword [esi + 0x68]
call dword [edi + 0x20]
test eax, eax
jne 0x5d4854
mov eax, dword [esi + 0x60]
push dword [esi + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
test eax, eax
jne 0x5d4854
push 0x7c
pop edi
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0073d4f0
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x7c]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x5c]
lea edx, [ebp - 0xe0]
push edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x1007
mov dword [ebp + 0x3c], 0x4040
mov dword [ebp + 0x1c], 0x20
mov dword [ebp + 0x20], 0x40
mov dword [ebp - 0xe0], edi
mov dword [esi + 0x18], 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x5d47c8
push 0x10
pop edx
cmp dword [ebp - 0x8c], edx
je 0x5d4768
push 0x18
pop edi
cmp dword [ebp - 0x8c], edi
je 0x5d472e
push 0x20
pop edi
cmp dword [ebp - 0x8c], edi
jne 0x5d47c8
mov edx, 0xff0000
cmp dword [ebp - 0x88], edx
jne 0x5d47c8
mov ecx, 0xff00
cmp dword [ebp - 0x84], ecx
jne 0x5d47c8
mov eax, 0xff
cmp dword [ebp - 0x80], eax
jne 0x5d47c8
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x34], eax
mov dword [esi + 0x18], 7
jmp 0x5d47c5
mov edx, 0xff0000
cmp dword [ebp - 0x88], edx
jne 0x5d47c8
mov ecx, 0xff00
cmp dword [ebp - 0x84], ecx
jne 0x5d47c8
mov eax, 0xff
cmp dword [ebp - 0x80], eax
jne 0x5d47c8
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x34], eax
mov dword [esi + 0x18], 6
jmp 0x5d47c5
mov eax, 0xf800
cmp dword [ebp - 0x88], eax
jne 0x5d4793
mov ecx, 0x7e0
cmp dword [ebp - 0x84], ecx
jne 0x5d47c8
push 0x1f
pop edi
cmp dword [ebp - 0x80], edi
jne 0x5d47c8
mov dword [esi + 0x18], 5
jmp 0x5d47bc
mov eax, 0x7c00
cmp dword [ebp - 0x88], eax
jne 0x5d47c8
mov ecx, 0x3e0
cmp dword [ebp - 0x84], ecx
jne 0x5d47c8
push 0x1f
pop edi
cmp dword [ebp - 0x80], edi
jne 0x5d47c8
mov dword [esi + 0x18], 4
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], ecx
cmp dword [esi + 0x18], 9
je 0x5d4854
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
push ebx
lea edi, [esi + 0x64]
push edi
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x5d4804
mov eax, dword [esi + 0x5c]
push ebx
push edi
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp + 0x3c], 0x40840
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x5d4854
jmp 0x5d4808
mov byte [esi + 0x54], 1
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [ebp + 0x64]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
je 0x5d4bba
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x5c]
push ebx
push edi
lea edx, [ebp - 0x2c]
push edx
mov dword [edi], ebx
mov dword [ebp + 0x3c], 0x40840
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x5d4854
mov edi, dword [edi]
mov eax, dword [edi]
lea ecx, [ebp + 0x64]
push ecx
push edi
call dword [eax + 0x44]
test eax, eax
je 0x5d4bba
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x5d4864
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x64]
cmp eax, ebx
je 0x5d4874
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x64], ebx
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x5d4884
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x60], ebx
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x5d4894
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x5d48a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x58], ebx
cmp dword [0x30289634], 1
jne 0x5d4b22
cmp dword [ebp + 0x60], ebx
jne 0x5d4b22
mov eax, dword [0x302b7634]
cmp eax, ebx
je 0x5d4b22
cmp dword [ebp + 0x78], 0x800
jge 0x5d4b22
cmp dword [ebp + 0x7c], 0x800
jge 0x5d4b22
push 0xdc
call eax
cmp eax, ebx
mov dword [esi + 0xa4], eax
je 0x5d4adb
mov ecx, dword [esi + 0x20]
lea eax, [ebp + 0x50]
push eax
call 0x5caa38
mov ecx, dword [esi + 0x20]
push 1
call 0x5c95fe
push eax
call dword [0x3023f4cc]
mov dword [ebp + 0x5c], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x68], ebx
jbe 0x5d4947
mov eax, dword [esi + 0xa4]
push dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp eax, dword [ebp + 0x5c]
je 0x5d4947
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], edi
jb 0x5d492b
push 0x34
lea edi, [esi + 0x70]
push ebx
push edi
call fcn.0073d4f0
mov eax, dword [ebp + 0x50]
mov ecx, dword [esi + 0x20]
mov dword [edi], eax
mov eax, dword [ebp + 0x54]
add esp, 0xc
mov byte [esi + 0xb4], 1
mov dword [esi + 0x8c], 1
mov dword [esi + 0x84], 3
mov dword [esi + 0x78], 0x16
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x74], eax
call 0x5c95fe
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0xa4]
lea ecx, [esi + 0xa8]
push ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x98], ebx
mov dword [ebp + 0x5c], eax
mov eax, dword [eax]
push edi
push 0x56
mov dword [ebp + 0x58], eax
call 0x5c95fe
push eax
mov eax, dword [ebp + 0x58]
push 1
push dword [ebp + 0x68]
push dword [ebp + 0x5c]
call dword [eax + 0x3c]
test eax, eax
jne 0x5d4adb
push 0xd4
lea eax, [ebp - 0x1d4]
push ebx
push eax
call fcn.0073d4f0
add esp, 0xc
lea edx, [ebp - 0x1d4]
lea edi, [esi + 0xa8]
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x5d4adb
cmp dword [ebp - 0x1d4], 3
je 0x5d4adb
test byte [ebp - 0x1b4], 0x10
je 0x5d4adb
test byte [ebp - 0x188], 4
je 0x5d4adb
test byte [ebp - 0x198], 0x20
jne 0x5d4adb
mov ecx, dword [ebp - 0x194]
mov eax, 0x2000200
and ecx, eax
cmp ecx, eax
jne 0x5d4adb
cmp dword [esi + 0xb0], ebx
jne 0x5d4aa4
call 0x5d2f77
test al, al
jne 0x5d4aa4
mov eax, dword [esi + 0x20]
cmp dword [eax + 0xe4c], ebx
je 0x5d4aa4
test byte [ebp - 0x1ca], 2
je 0x5d4aa4
push 0x148
call fcn.0073dbc3
cmp eax, ebx
pop ecx
je 0x5d4a8c
mov ecx, eax
call fcn.005d544e
mov dword [ebp + 0x68], eax
jmp 0x5d4a8f
mov dword [ebp + 0x68], ebx
push dword [edi]
mov ecx, dword [ebp + 0x68]
call fcn.005d5756
push dword [ebp + 0x68]
mov ecx, dword [esi + 0x20]
call 0x5c8f67
test byte [ebp - 0x1c5], 0x20
mov edi, dword [edi]
mov eax, dword [edi]
lea ecx, [esi + 0xac]
push ecx
je 0x5d4ac2
push ebx
push 0x16
push 0x200
jmp 0x5d4ac7
push 1
push 0x16
push ebx
push 1
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push edi
call dword [eax + 0x50]
test eax, eax
je 0x5d4c6b
lea edi, [esi + 0xa8]
cmp dword [edi], ebx
je 0x5d4af8
mov ecx, dword [esi + 0x20]
push ebx
call 0x5c8f67
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
lea edi, [esi + 0xac]
mov eax, dword [edi]
cmp eax, ebx
je 0x5d4b0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x5d4b22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xa4], ebx
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
jl 0x5d445a
push ebx
call dword [0x3023f170]
mov edi, dword [0x3023f100]
push 0xe
push eax
mov dword [ebp + 0x60], eax
call edi
push 0xc
push dword [ebp + 0x60]
mov dword [ebp + 0x58], eax
call edi
mov ecx, dword [ebp + 0x58]
imul ecx, eax
mov eax, dword [0x30289630]
cmp eax, 9
mov dword [ebp + 0x64], ecx
je 0x5d4b74
push eax
call 0x50b275
movsx eax, al
cmp eax, dword [ebp + 0x64]
pop ecx
je 0x5d4d56
mov eax, dword [ebp + 0x64]
dec eax
je 0x5d4d50
dec eax
je 0x5d4d44
push 2
pop ecx
sub eax, ecx
je 0x5d4d3c
sub eax, 4
je 0x5d4d30
sub eax, 8
je 0x5d4c8e
sub eax, 8
je 0x5d4c7f
mov dword [0x30289630], 7
jmp 0x5d4d56
mov eax, dword [esi + 0x64]
push dword [ebp + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
call 0x5d2f77
test al, al
jne 0x5d4c63
mov eax, dword [esi + 0x20]
cmp dword [eax + 0xe4c], ebx
je 0x5d4c63
test byte [ebp - 0x1e2], 2
je 0x5d4c63
push 0x2b0
call fcn.0073dbc3
cmp eax, ebx
pop ecx
je 0x5d4c05
mov ecx, eax
call fcn.005d4e79
mov edi, eax
jmp 0x5d4c07
xor edi, edi
mov ecx, dword [esi + 0x20]
lea eax, [ebp + 0x50]
push eax
call 0x5caa38
push dword [esi + 0x60]
mov ecx, edi
push dword [esi + 0x5c]
call fcn.005d512e
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
call 0x50b87f
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
call 0x50b891
mov ecx, dword [esi + 0x20]
push edi
call 0x5c8f67
mov dword [esi + 0x24], ebx
jmp 0x5d4d72
push dword [ebp + 0x7c]
mov dword [esi + 0x24], ebx
push dword [ebp + 0x78]
mov byte [esi + 0x54], 1
push 7
jmp 0x5d4d6b
mov dword [0x30289630], 6
jmp 0x5d4d56
push 0x6c
pop edi
push edi
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0073d4f0
add esp, 0xc
push ebx
mov dword [ebp - 0x1c], edi
call dword [0x3023f5a0]
push 1
push 1
push eax
mov dword [ebp + 0x6c], eax
call dword [0x3023f0b0]
mov edi, dword [0x3023f0b4]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 1
push ebx
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x64], eax
call edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 1
push ebx
push dword [ebp + 0x64]
push dword [ebp + 0x6c]
call edi
push dword [ebp + 0x64]
call dword [0x3023f108]
push dword [ebp + 0x6c]
push ebx
call dword [0x3023f5a4]
cmp word [ebp - 0xe], 0x10
jne 0x5d4d24
cmp dword [ebp - 0xc], 3
jne 0x5d4d24
cmp dword [ebp + 0xc], 0xf800
jne 0x5d4d24
cmp dword [ebp + 0x10], 0x7e0
jne 0x5d4d24
cmp dword [ebp + 0x14], 0x1f
jne 0x5d4d24
mov dword [0x30289630], 5
jmp 0x5d4d56
mov dword [0x30289630], 4
jmp 0x5d4d56
mov dword [0x30289630], 3
jmp 0x5d4d56
mov dword [0x30289630], ecx
jmp 0x5d4d56
mov dword [0x30289630], 1
jmp 0x5d4d56
mov dword [0x30289630], ebx
push dword [ebp + 0x60]
call dword [0x3023f16c]
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push dword [0x30289630]
mov ecx, esi
call fcn.005d3fc8
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8