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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov eax, dword [ebp + 8]
mov edx, eax
call fcn.0052dd30
mov edi, dword [ebp + 0x10]
mov bl, byte [ebp + 0xc]
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], edi
and bl, 1
mov byte [esp + 0x177], bl
mov dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xf4], eax
call fcn.0050e450
mov eax, dword [eax]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x180]
mov eax, dword [eax]
mov dword [esp + 0x168], eax
mov byte [esp + 0x167], 1
mov dword [esp + 0x100], 0x6e41d29c
mov eax, dword [esp + 0x100]
mov ecx, eax
sub ecx, 0xa1588f61
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], ecx
jg 0x52d22b
jmp 0x52d20d
mov eax, dword [esp + 0xf0]
sub eax, 0x8f799acc
mov dword [esp + 0xe8], eax
je 0x52d7fc
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0xab6a42b9
mov dword [esp + 0xe4], eax
jg 0x52d267
jmp 0x52d249
mov eax, dword [esp + 0xf0]
sub eax, 0xa1588f62
mov dword [esp + 0xe0], eax
je 0x52dbaf
jmp 0x52d636
mov eax, dword [esp + 0xf0]
add eax, 0x36218361
mov dword [esp + 0xdc], eax
jg 0x52d2a4
jmp 0x52d286
mov eax, dword [esp + 0xf0]
sub eax, 0xab6a42ba
mov dword [esp + 0xd8], eax
je 0x52d827
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0xcea7409b
mov dword [esp + 0xd4], eax
jg 0x52d2e1
jmp 0x52d2c2
mov eax, dword [esp + 0xf0]
add eax, 0x36218360
mov dword [esp + 0xd0], eax
je 0x52dade
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0xdf8ae4df
mov dword [esp + 0xcc], eax
jg 0x52d31e
jmp 0x52d2ff
mov eax, dword [esp + 0xf0]
add eax, 0x3158bf64
mov dword [esp + 0xc8], eax
je 0x52d6a0
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0xe2fafc8e
mov dword [esp + 0xc4], eax
jg 0x52d35b
jmp 0x52d33c
mov eax, dword [esp + 0xf0]
add eax, 0x20751b20
mov dword [esp + 0xc0], eax
je 0x52db0e
jmp 0x52d636
mov eax, dword [esp + 0xf0]
add eax, 0x8cf747d6
mov dword [esp + 0xbc], eax
jg 0x52d61b
jmp 0x52d37a
mov eax, dword [esp + 0xf0]
sub eax, 0xe56e323c
mov dword [esp + 0xb8], eax
jg 0x52d3b6
jmp 0x52d398
mov eax, dword [esp + 0xf0]
sub eax, 0xe2fafc8f
mov dword [esp + 0xb4], eax
je 0x52d66f
jmp 0x52d636
mov eax, dword [esp + 0xf0]
add eax, 0x15d9e7fe
mov dword [esp + 0xb0], eax
jg 0x52d3f3
jmp 0x52d3d5
mov eax, dword [esp + 0xf0]
sub eax, 0xe56e323d
mov dword [esp + 0xac], eax
je 0x52d95f
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0xf7b4f208
mov dword [esp + 0xa8], eax
jg 0x52d42f
jmp 0x52d411
mov eax, dword [esp + 0xf0]
sub eax, 0xea261803
mov dword [esp + 0xa4], eax
je 0x52d9bc
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x6fcae139
mov dword [esp + 0xa0], eax
jg 0x52d600
jmp 0x52d44d
mov eax, dword [esp + 0xf0]
sub eax, 0x6e41d29b
mov dword [esp + 0x9c], eax
jg 0x52d5e5
jmp 0x52d46b
mov eax, dword [esp + 0xf0]
add eax, 0x9623a792
mov dword [esp + 0x98], eax
jg 0x52d5ca
jmp 0x52d48a
mov eax, dword [esp + 0xf0]
add eax, 0x9932aa76
mov dword [esp + 0x94], eax
jg 0x52d5ae
jmp 0x52d4a9
mov eax, dword [esp + 0xf0]
sub eax, 0x5b8a61e2
mov dword [esp + 0x90], eax
jg 0x52d593
jmp 0x52d4c7
mov eax, dword [esp + 0xf0]
add eax, 0xbad72606
mov dword [esp + 0x8c], eax
jg 0x52d577
jmp 0x52d4e6
mov eax, dword [esp + 0xf0]
sub eax, 0x3ccdaa15
mov dword [esp + 0x88], eax
jg 0x52d55c
jmp 0x52d504
mov eax, dword [esp + 0xf0]
sub eax, 0xf7b4f209
mov dword [esp + 0x84], eax
je 0x52d9ac
jmp 0x52d522
mov eax, dword [esp + 0xf0]
add eax, 0x6c50607
mov dword [esp + 0x80], eax
je 0x52d86d
jmp 0x52d541
mov eax, dword [esp + 0xf0]
sub eax, 0xfde9faca
mov dword [esp + 0x7c], eax
je 0x52da18
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x3ccdaa16
mov dword [esp + 0x78], eax
je 0x52d73a
jmp 0x52d636
mov eax, dword [esp + 0xf0]
add eax, 0xbad72605
mov dword [esp + 0x74], eax
je 0x52dafe
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x5b8a61e3
mov dword [esp + 0x70], eax
je 0x52d88a
jmp 0x52d636
mov eax, dword [esp + 0xf0]
add eax, 0x9932aa75
mov dword [esp + 0x6c], eax
je 0x52d7d9
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x69dc586f
mov dword [esp + 0x68], eax
je 0x52d84f
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x6e41d29c
mov dword [esp + 0x64], eax
je 0x52d63b
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x6fcae13a
mov dword [esp + 0x60], eax
je 0x52dc7d
jmp 0x52d636
mov eax, dword [esp + 0xf0]
sub eax, 0x7308b82b
mov dword [esp + 0x5c], eax
je 0x52dd0b
jmp 0x52d636
jmp 0x52dd1c
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call fcn.004e0b50
mov ecx, 0xf93af9f9
mov edx, 0xe2fafc8f
cmp byte [eax], 0
setne bl
xor bl, 1
test bl, 1
cmovne ecx, edx
mov dword [esp + 0x100], ecx
jmp 0x52dd1c
mov eax, 0x3ccdaa16
mov ecx, 0xcea7409c
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x168], edx
mov bl, byte [esp + 0x177]
test bl, 1
cmovne eax, ecx
mov dword [esp + 0x100], eax
jmp 0x52dd1c
mov eax, dword [esp + 0x180]
mov ecx, esp
lea edx, [esp + 0x160]
mov dword [ecx], edx
mov ecx, 0x447b40
mov ecx, eax
call fcn.0049d600
sub esp, 4
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x180]
mov edx, esp
mov dword [edx], eax
call fcn.0051f980
sub esp, 4
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x180]
mov esi, esp
mov dword [esi], ecx
mov ecx, 0x447c60
mov ecx, edx
mov dword [esp + 0x58], eax
call fcn.00502e40
sub esp, 4
mov edx, 0x447d44
mov ecx, esp
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], edx
mov dword [ecx], eax
lea ecx, [esp + 0x160]
call fcn.004e0b90
sub esp, 8
xor al, 1
and al, 1
mov byte [esp + 0x167], al
mov dword [esp + 0x100], 0x66cd558b
jmp 0x52dd1c
mov eax, dword [esp + 0x180]
mov ecx, esi
mov ecx, esp
lea edx, [esp + 0x158]
mov dword [ecx], edx
mov ecx, 0xffff
mov ecx, eax
call fcn.0049d600
sub esp, 4
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x180]
mov edx, esp
call fcn.0052dd40
call fcn.00502e40
sub esp, 4
mov ecx, dword [esp + 0x178]
mov edx, dword [esp + 0x180]
mov esi, esp
mov dword [esi], ecx
mov ecx, 0x447b64
mov ecx, edx
mov dword [esp + 0x54], eax
call fcn.0051f980
sub esp, 4
mov edx, 0x447cfc
mov ecx, esp
mov edx, dword [esp + 0x54]
call fcn.0052dd50
mov dword [ecx], eax
lea ecx, [esp + 0x158]
call fcn.004e0b90
sub esp, 8
and al, 1
mov byte [esp + 0x167], al
mov dword [esp + 0x100], 0x66cd558b
jmp 0x52dd1c
mov eax, 0xab6a42ba
mov ecx, 0x8f799acc
mov dl, byte [esp + 0x167]
test dl, 1
cmovne eax, ecx
mov dword [esp + 0x100], eax
jmp 0x52dd1c
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call fcn.00502cf0
call fcn.0052dd60
mov dword [esp + 0x100], 0x69dc586f
mov dword [esp + 0xfc], eax
jmp 0x52dd1c
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call fcn.004e0b70
mov eax, dword [eax]
mov dword [esp + 0x100], 0x69dc586f
mov dword [esp + 0xfc], eax
jmp 0x52dd1c
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x100], 0x6e41d29c
jmp 0x52dd1c
mov al, 0
mov ecx, 0xe56e323d
mov edx, 0x5b8a61e3
test al, 1
cmovne ecx, edx
mov dword [esp + 0x100], ecx
jmp 0x52dd1c
mov byte [esp + 0x14f], 1
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x178]
mov dword [esp], ecx
mov dword [esp + 0x50], eax
call fcn.005249b0
mov ecx, dword [esp + 0x168]
mov dl, byte [esp + 0x167]
mov esi, dword [esp + 0x180]
mov ebx, 0x400000
mov edi, esp
mov ebx, dword [esp + 0x50]
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 8], ecx
lea eax, [esp + 0x148]
mov dword [edi], eax
movzx eax, dl
and eax, 1
call fcn.0052dd70
mov ecx, 0x447cf0
mov ecx, esi
call fcn.0042c200
sub esp, 0x14
mov eax, esp
lea ecx, [esp + 0x14f]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x148]
call fcn.0052dd80
mov dword [eax + 8], 0
lea ecx, [esp + 0x150]
call fcn.004e0c70
sub esp, 0xc
mov ecx, esp
lea esi, [esp + 0x150]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x4c], eax
call fcn.005249f0
sub esp, 8
mov dword [esp + 0x100], 0x7308b82b
mov dword [esp + 0x48], eax
jmp 0x52dd1c
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x168]
mov edx, esi
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
lea ecx, [esp + 0x140]
call fcn.004e51d0
sub esp, 8
mov ecx, 0xf7b4f209
mov edx, 0xea261803
mov bl, byte [esp + 0x167]
test bl, 1
cmovne ecx, edx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x44], eax
jmp 0x52dd1c
mov dword [esp + 0x100], 0xdf8ae4e0
jmp 0x52dd1c
lea eax, [esp + 0x140]
mov ecx, dword [esp + 0x180]
mov edx, 0x400000
mov edx, esp
lea esi, [esp + 0x138]
mov dword [edx], esi
mov dword [esp + 0x40], eax
call fcn.0051d030
sub esp, 4
lea eax, [esp + 0x138]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
call fcn.0050e410
sub esp, 4
mov ecx, 0xc9de7ca0
mov edx, 0xfde9faca
test al, 1
cmovne ecx, edx
mov dword [esp + 0x100], ecx
jmp 0x52dd1c
mov byte [esp + 0x12f], 1
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x178]
mov dword [esp], ecx
mov dword [esp + 0x3c], eax
call fcn.005249b0
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x180]
mov esi, esp
mov edi, dword [esp + 0x3c]
mov dword [esi + 0x10], edi
call fcn.0052dd90
call fcn.0052dda0
lea eax, [esp + 0x128]
call fcn.0052ddb0
mov dword [esi + 4], 1
mov ecx, edx
call fcn.0042c200
sub esp, 0x14
mov eax, esp
lea ecx, [esp + 0x12f]
call fcn.0052ddc0
lea ecx, [esp + 0x128]
mov dword [eax], ecx
mov dword [eax + 8], 0
lea ecx, [esp + 0x130]
call fcn.004e0c70
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x38], eax
call fcn.005249f0
sub esp, 8
mov dword [esp + 0x100], 0x7308b82b
mov dword [esp + 0x34], eax
jmp 0x52dd1c
lea ecx, [esp + 0x140]
call fcn.004b9be0
mov dword [esp + 0x100], 0x4528d9fb
mov dword [esp + 0x30], eax
jmp 0x52dd1c
mov dword [esp + 0x100], 0xdf8ae4e0
jmp 0x52dd1c
mov eax, dword [esp + 0x180]
mov ecx, esp
lea edx, [esp + 0x120]
call fcn.0052ddd0
mov ecx, eax
call fcn.0049d600
sub esp, 4
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x180]
mov edx, 0x447bf4
mov edx, esp
call fcn.0052dde0
call fcn.0051f980
sub esp, 4
lea ecx, [esp + 0x140]
mov dword [esp + 0x2c], eax
call fcn.004d6ed0
mov ecx, dword [esp + 0x180]
mov edx, 0x447cf0
mov edx, esp
mov dword [edx], eax
call fcn.00502e40
sub esp, 4
mov ecx, esp
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], edx
call fcn.0052ddf0
lea ecx, [esp + 0x120]
call fcn.004e0b90
sub esp, 8
mov ecx, 0x6fcae13a
mov edx, 0xa1588f62
test al, 1
cmovne ecx, edx
mov dword [esp + 0x100], ecx
jmp 0x52dd1c
mov byte [esp + 0x117], 1
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x178]
mov dword [esp], ecx
mov dword [esp + 0x28], eax
call fcn.005249b0
mov ecx, dword [esp + 0x168]
mov dl, byte [esp + 0x167]
mov esi, dword [esp + 0x180]
mov ebx, 0x447c48
mov edi, esp
mov ebx, dword [esp + 0x28]
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 8], ecx
lea eax, [esp + 0x110]
mov dword [edi], eax
movzx eax, dl
and eax, 1
mov dword [edi + 4], eax
mov ecx, esi
call fcn.0042c200
sub esp, 0x14
mov eax, 0x447d08
mov eax, esp
lea ecx, [esp + 0x117]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x110]
mov dword [eax], ecx
mov dword [eax + 8], 0
lea ecx, [esp + 0x118]
call fcn.004e0c70
sub esp, 0xc
mov ecx, esp
lea esi, [esp + 0x118]
mov dword [ecx], esi
call fcn.0052de00
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x24], eax
call fcn.005249f0
sub esp, 8
mov dword [esp + 0x100], 0x7308b82b
mov dword [esp + 0x20], eax
jmp 0x52dd1c
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x180]
mov edx, 0x447d44
mov edx, esp
mov dword [edx], eax
call fcn.0042d770
sub esp, 4
mov byte [esp + 0x107], 0
mov eax, esi
mov eax, esp
lea ecx, [esp + 0x107]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x140]
mov dword [eax], ecx
call fcn.0052de10
lea ecx, [esp + 0x108]
call fcn.004d9a10
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x108]
call fcn.0052de20
mov dword [ecx + 4], 0
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x1c], eax
call fcn.005249f0
sub esp, 8
mov dword [esp + 0x100], 0x7308b82b
mov dword [esp + 0x18], eax
jmp 0x52dd1c
mov eax, dword [esp + 0xf8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
jmp 0x52d1e5