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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x571197
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x52d868
jmp dword [eax*4 + 0x52dc8c]
cmp byte [ebx + 0x21], 0
jne case.default.0x52d868
add ebx, 4
push ebx
mov edx, str.null
call fcn.0040f1c0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00529680
push edx
push eax
lea esi, [esp + 0x9c]
call fcn.0052d050
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebx + 4]
mov dword [esp + 0x14c], 0
call fcn.00418b40
lea ecx, [esp + 0x94]
call fcn.00424920
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00529830
push edx
push eax
lea esi, [esp + 0xd4]
call fcn.0052d100
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebx + 4]
mov dword [esp + 0x14c], 1
call fcn.00418b40
lea ecx, [esp + 0xcc]
call fcn.00424920
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.005299d0
sub esp, 8
lea eax, [esp + 0x80]
fstp qword [esp]
call fcn.0052d2a0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebx + 4]
mov dword [esp + 0x14c], 2
call fcn.00418b40
lea ecx, [esp + 0x78]
call fcn.00424920
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x38]
mov eax, esi
call fcn.005292e0
test al, al
je case.default.0x52d868
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xb0]
sub edx, ecx
push eax
call fcn.0052d360
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebx + 4]
mov dword [esp + 0x14c], 3
call fcn.00418b40
lea ecx, [esp + 0xb0]
call fcn.00424920
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00529b00
movzx ecx, al
push ecx
lea esi, [esp + 0xec]
call fcn.0052d2d0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea esi, [ebx + 4]
mov dword [esp + 0x14c], 4
call fcn.00418b40
lea ecx, [esp + 0xe8]
call fcn.00424920
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edi, [ebx + 4]
push 0x5b
mov eax, 1
call fcn.004122e0
mov ecx, esi
call fcn.00529c10
mov ebx, eax
xor esi, esi
test ebx, ebx
jbe 0x52daa0
test esi, esi
jbe 0x52da88
push 0x2c
mov eax, 1
call fcn.004122e0
mov ecx, dword [ebp + 8]
push esi
call fcn.0052a040
mov ecx, dword [esp + 0x38]
push eax
call fcn.0052d820
inc esi
cmp esi, ebx
jb 0x52da78
push 0x5d
mov eax, 1
call fcn.004122e0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0052a750
lea edi, [ebx + 4]
mov dword [esp + 0x140], 5
push 0x7b
mov eax, 1
mov dword [esp + 0x38], edi
call fcn.004122e0
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
jbe 0x52dafd
call fcn.0053ecd6
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], edi
mov ebx, esi
jmp 0x52db10
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x48], esi
jbe 0x52db1f
call fcn.0053ecd6
test edi, edi
je 0x52db29
cmp edi, dword [esp + 0x3c]
je 0x52db2e
call fcn.0053ecd6
cmp ebx, esi
je 0x52dc58
test edi, edi
jne 0x52dc4d
call fcn.0053ecd6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x52db4f
call fcn.0053ecd6
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
jbe 0x52db5e
call fcn.0053ecd6
test edi, edi
je 0x52db68
cmp edi, dword [esp + 0x3c]
je 0x52db6d
call fcn.0053ecd6
cmp ebx, esi
je 0x52db81
mov edi, dword [esp + 0x34]
push 0x2c
mov eax, 1
call fcn.004122e0
mov edx, dword [ebx + 0x14]
lea eax, [ebx + 4]
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x52db93
mov eax, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.0052d360
add esp, 4
push 0xffffffffffffffff
push 0
mov byte [esp + 0x148], 6
mov esi, dword [esp + 0x3c]
push eax
call fcn.00418b40
mov byte [esp + 0x140], 5
cmp dword [esp + 0x74], edi
jb 0x52dbd3
mov edx, dword [esp + 0x60]
push edx
call fcn.0053d782
add esp, 4
mov edi, dword [esp + 0x38]
cmp byte [edi + 0x20], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov ecx, 0x59a0fc
jne 0x52dbfc
mov ecx, 0x5917c8
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52dc01
sub eax, esi
push eax
mov eax, dword [esp + 0x38]
push ecx
call fcn.004157c0
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.0052a5c0
push eax
mov ecx, edi
call fcn.0052d820
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x52dc54
call fcn.0053ecd6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x52dc41
call fcn.0053ecd6
mov edi, dword [esp + 0x54]
add ebx, 0x1c
jmp 0x52db10
mov eax, dword [edi]
jmp 0x52db45
mov eax, dword [eax]
jmp 0x52dc37
mov edi, dword [esp + 0x34]
push 0x7d
mov eax, 1
call fcn.004122e0
lea esi, [esp + 0x3c]
call fcn.004574e0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4