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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d2942
sub esp, 0x74
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045e874
lea ecx, [0x63c4e8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 3
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x5d2929
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
cmp eax, 0x29cb474c
jne 0x5d2224
mov edx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
cmp edx, ebx
jne 0x5d2929
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x54], edx
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.005d3330
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x6d], al
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x5d220c
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x78]
lea ebx, [0x637780]
mov ebp, dword [esp + 0x7c]
jmp 0x5d227a
cmp eax, 0x7ade63e2
jne 0x5d2929
mov edx, dword [esp + 0x78]
lea ebx, [0x637780]
cmp edx, ebx
jne 0x5d2929
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x44], esi
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], 0xc8
movzx esi, byte [ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x6d], al
xchg esi, eax
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x5d229a
mov esi, dword [esp + 0x58]
test esi, esi
jne 0x5d229a
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 1
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.005d2980
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5d2917
mov eax, dword [esp + 0x38]
cmp eax, 0x29cb474c
sete cl
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
movzx edi, byte [esp + 0x6c]
mov byte [esp], cl
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
xchg edi, eax
mov byte [esp + 0x14], al
xchg edi, eax
call fcn.005d2cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x5d2905
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x38]
cmp eax, 0x29cb474c
jne 0x5d23d7
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x50], 4
jne 0x5d23d7
cmp dword [eax], 0x44414548
jne 0x5d23d7
mov eax, dword [esp + 0x44]
lea ecx, [0x632c40]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x63f031]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call fcn.0040fae0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jle 0x5d2393
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
jmp 0x5d2397
xor eax, eax
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005d42d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x5d23c5
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebp
jmp 0x5d23df
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x44]
movzx ecx, byte [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.005d3480
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
test ecx, ecx
jne 0x5d28f3
mov ecx, dword [esp + 0x78]
cmp dword [ecx + 8], 0x29cb474c
jne 0x5d2477
mov edx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
cmp edx, ebx
jne 0x5d2481
mov ebp, dword [esp + 0x28]
cmp ebp, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
mov eax, edx
mov edx, dword [esp + 0x34]
cmp edx, 0xffffffff
sete dl
and edx, esi
test dl, dl
je 0x5d2487
movzx edx, byte [esp + 0x6c]
test dl, dl
jne 0x5d2487
mov edx, dword [esp + 0x48]
lea esi, [edx - 0x64]
cmp esi, 0x63
jbe 0x5d2487
cmp edx, 0xcc
je 0x5d2487
cmp edx, 0x130
je 0x5d2487
mov byte [esp + 0x6d], 1
jmp 0x5d2487
mov edx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
mov eax, edx
mov ebp, dword [esp + 0x28]
movzx edx, byte [esp + 0x6c]
test dl, dl
je 0x5d25ba
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x50], 4
jne 0x5d24a7
cmp dword [edx], 0x44414548
je 0x5d24c3
mov edx, dword [esp + 0x48]
lea ebp, [edx - 0x64]
cmp ebp, 0x63
jbe 0x5d24c3
cmp edx, 0xcc
je 0x5d24c3
cmp edx, 0x130
jne 0x5d24dc
lea edx, [0x6a3144]
mov dword [esp + 0x5c], edx
lea edx, [0x816bf0]
mov dword [esp + 0x60], edx
jmp 0x5d2748
lea eax, [0x627120]
mov dword [esp], eax
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov dword [esp + 0x40], edi
mov eax, dword [0x816df0]
test eax, eax
jne 0x5d2507
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x5d2513
mov eax, dword [esp + 0x80]
call fcn.0045e5d0
lea eax, [0x62e2c0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69f6a4]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d2540
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
jmp 0x5d2550
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5d2574
mov edx, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x10], edx
jmp 0x5d2593
lea edi, [eax + 0xc]
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045e5d0
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x80]
call fcn.0045e5d0
mov eax, edx
movzx edx, byte [esp + 0x6d]
mov byte [eax + 0x14], dl
lea edx, [0x6a2d24]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov eax, ecx
mov ecx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
jmp 0x5d2748
mov edx, dword [esp + 0x30]
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebp, ebp
sete bl
and ebx, esi
test bl, bl
je 0x5d25f1
lea edx, [0x6a3144]
mov dword [esp + 0x5c], edx
lea edx, [0x816bf0]
mov dword [esp + 0x60], edx
lea ebx, [0x62c7c0]
jmp 0x5d2748
test ebp, ebp
seta bl
test edx, edx
setg dl
and ebx, esi
or edx, ebx
test dl, dl
jne 0x5d2692
movzx edx, byte [esp + 0x6d]
test dl, dl
jne 0x5d2626
lea edx, [0x6a3144]
mov dword [esp + 0x5c], edx
lea edx, [0x816bf0]
mov dword [esp + 0x60], edx
jmp 0x5d2687
lea eax, [0x62e2c0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69f3d4]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d2656
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
jmp 0x5d2669
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x80]
call fcn.0045e5d0
mov eax, ecx
movzx ecx, byte [esp + 0x6d]
mov byte [eax + 0x14], cl
lea ecx, [0x6a2d24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
jmp 0x5d2748
lea eax, [0x61a9e0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69f3d4]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d26c2
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
jmp 0x5d26d5
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x80]
call fcn.0045e5d0
mov eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x62e2c0]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69f500]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d2714
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
jmp 0x5d2724
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.0045e5d0
mov eax, ecx
movzx ecx, byte [esp + 0x6d]
mov byte [eax + 0x14], cl
lea ecx, [0x6a2d24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
lea ebx, [0x62c7c0]
mov ecx, dword [ecx + 8]
cmp ecx, 0x29cb474c
jne 0x5d2813
cmp eax, ebx
jne 0x5d28d9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d277d
mov dword [edx + 0x24], eax
jmp 0x5d2785
lea edi, [edx + 0x24]
call fcn.0045e5d0
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ebx
movzx ecx, byte [esp + 0x6c]
test cl, cl
je 0x5d27e8
lea eax, [0x609380]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x63cfea]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x816df0]
test edx, edx
jne 0x5d27de
mov dword [ecx + 0x30], eax
jmp 0x5d27e6
lea edi, [ecx + 0x30]
call fcn.0045e5d0
mov edx, ecx
movzx ecx, byte [esp + 0x6d]
mov byte [edx + 0x3c], cl
mov ecx, dword [0x816df0]
mov eax, dword [esp + 0x70]
test ecx, ecx
jne 0x5d2806
mov dword [edx + 0x40], eax
jmp 0x5d28d9
lea edi, [edx + 0x40]
call fcn.0045e5d0
jmp 0x5d28d9
cmp ecx, 0x7ade63e2
jne 0x5d28d9
lea ecx, [0x637780]
cmp eax, ecx
jne 0x5d28d9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d284b
mov dword [edx + 0x24], eax
jmp 0x5d2853
lea edi, [edx + 0x24]
call fcn.0045e5d0
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], ebx
movzx ecx, byte [esp + 0x6c]
test cl, cl
je 0x5d28b6
lea eax, [0x609380]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x63cfea]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x816df0]
test edx, edx
jne 0x5d28ac
mov dword [ecx + 0x34], eax
jmp 0x5d28b4
lea edi, [ecx + 0x34]
call fcn.0045e5d0
mov edx, ecx
movzx ecx, byte [esp + 0x6d]
mov byte [edx + 0x40], cl
mov ecx, dword [0x816df0]
mov eax, dword [esp + 0x70]
test ecx, ecx
jne 0x5d28d1
mov dword [edx + 0x58], eax
jmp 0x5d28d9
lea edi, [edx + 0x58]
call fcn.0045e5d0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
add esp, 0x74
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
lea eax, [0x60d840]
mov dword [esp], eax
lea eax, [0x69da98]
mov dword [esp + 4], eax
call fcn.004334d0
nop
call fcn.0045d190
jmp fcn.005d2150