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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x100ef48c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x2c], eax
push edi
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x3c], 0xff
call fcn.0053b3c0
xor edi, edi
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov word [eax], di
mov dword [esp + 0x24], ebx
mov byte [esp + 0x13], 0
call dword [0x100cf068]
mov esi, eax
add esi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
je 0x5320b1
lea ecx, [esi + esi]
push ecx
call fcn.0053b370
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov edi, eax
xor edx, edx
mov eax, ebx
cmp word [eax], dx
je 0x53236a
mov dword [esp + 0x14], edx
movzx eax, word [ebx]
cmp ax, 0x22
mov cl, byte [esp + 0xf]
jne 0x5320fa
test cl, cl
jne 0x532907
cmp ax, ax
jne 0x5320fa
cmp ebx, dword [ebp + 8]
jne 0x5320fa
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx]
push edx
push edi
mov byte [esp + 0x17], 1
call dword [0x100ef7e8]
jmp 0x53225f
cmp ax, 0x20
jne 0x53224d
test cl, cl
jne 0x532251
mov edi, dword [esp + 0x14]
sar edi, 1
lea eax, [edi + 1]
xor esi, esi
test eax, eax
mov dword [esp + 0x24], esi
jbe 0x532131
lea edx, [eax + eax]
push edx
call fcn.0053b370
add esp, 4
mov dword [esp + 0x24], eax
mov esi, eax
add edi, edi
lea eax, [edi + 2]
push eax
push esi
call dword [0x100ef7e8]
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [0x100ef7ec]
xor eax, eax
mov ebx, esi
lea edi, [esp + 0xd8]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call fcn.00475be0
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00475be0
push 0x100da858
mov edx, edi
push edx
lea eax, [esp + 0xec]
push eax
call fcn.004ccef0
mov eax, dword [esp + 0x4c]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x5321b9
call fcn.00472510
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], ebx
lea edi, [esp + 0xd8]
jmp 0x5321c8
xor ebx, ebx
mov ecx, dword [edi]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push ebx
mov ebx, ecx
call fcn.004981a0
test eax, eax
jne 0x532286
mov eax, dword [edi]
push eax
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x5321fa
mov eax, dword [edi]
push eax
call fcn.0053f990
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 1
add edi, 0xc
cmp eax, 2
mov dword [esp + 0x10], eax
jb 0x5321c6
lea edi, [esp + 0xf0]
mov dword [esp + 0x10], 1
lea esp, [esp]
mov eax, dword [edi - 0xc]
sub edi, 0xc
xor ebx, ebx
cmp eax, ebx
je 0x532239
call fcn.00472510
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
sub dword [esp + 0x10], 1
jns 0x532220
cmp esi, ebx
je 0x53225f
mov eax, esi
call fcn.00472510
jmp 0x53225f
test cl, cl
je 0x53225f
push edi
call dword [0x100cf068]
mov cx, word [ebx]
mov word [edi + eax*2], cx
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
add eax, 2
cmp word [eax], 0
mov dword [esp + 0x20], eax
je 0x53236a
mov edi, dword [esp + 0x18]
mov ebx, eax
xor edx, edx
jmp 0x5320c2
xor eax, eax
mov ebx, esi
lea edi, [esp + 0x94]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
call fcn.00475be0
mov ebx, dword [esp + 0x94]
lea edi, [esp + 0x34]
call fcn.00475be0
test ebx, ebx
je 0x5322c6
mov eax, ebx
call fcn.00472510
push 0
lea edx, [esp + 0x138]
push edx
call fcn.00525970
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x15c]
call fcn.00525a20
mov esi, dword [ebp + 0xc]
call fcn.0052df60
test eax, eax
lea esi, [esp + 0x15c]
je 0x532ad3
call fcn.00532b30
mov eax, dword [esp + 0x138]
xor ebx, ebx
cmp eax, ebx
je 0x532313
call fcn.00472510
lea esi, [esp + 0xf0]
mov edi, 1
nop
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, ebx
je 0x532337
call fcn.00472510
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
sub edi, 1
jns 0x532320
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x532349
call fcn.00472510
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x532356
call fcn.00472510
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x532363
call fcn.00472510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call fcn.00475be0
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00475be0
push 0x100da858
mov eax, edi
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.004ccef0
mov esi, dword [esp + 0x30]
xor edi, edi
add esp, 0xc
cmp esi, edi
je 0x532411
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x27c]
call fcn.00532c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x294], 0
je 0x532405
mov esi, dword [esp + 0x290]
call fcn.005154d0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
xor esi, esi
lea edi, [esp + 0xa0]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov ebx, dword [edi]
push 0
call fcn.004981a0
test eax, eax
jne 0x532455
push ebx
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x532443
push ebx
call fcn.0053f990
add esp, 4
add esi, 1
add edi, 0xc
cmp esi, 2
jb 0x53241a
xor ebx, ebx
jmp 0x53285e
lea ecx, [esi + esi*2]
mov ebx, dword [esp + ecx*4 + 0xa0]
lea edi, [esp + 0x34]
call fcn.00475be0
xor esi, esi
push esi
lea edx, [esp + 0xf8]
push edx
call fcn.00525970
mov ebx, 0x100cf494
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], 0x100da8f4
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00475be0
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x64], 0xff
call fcn.0053b3c0
mov esi, dword [ebp + 0xc]
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov word [edi], bx
call fcn.0052df60
test eax, eax
push 0x100ef4b8
mov edx, 0x100ef4b4
jne 0x5327a7
lea eax, [esp + 0x1bc]
call fcn.00532c00
mov eax, dword [0x100ef808]
push edi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x1d4], bl
je 0x532503
mov esi, dword [esp + 0x1d0]
call fcn.005154d0
mov esi, dword [esp + 0x50]
cmp esi, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
je 0x53255e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x23c]
call fcn.00532c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x254], bl
je 0x532552
mov esi, dword [esp + 0x250]
call fcn.005154d0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov esi, dword [esp + 0xf8]
cmp esi, ebx
je 0x5325b9
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x1fc]
call fcn.00532c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x214], bl
je 0x5325a4
mov esi, dword [esp + 0x210]
call fcn.005154d0
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
lea eax, [esp + 0xb8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 0xc]
sub eax, 0xc
cmp edi, ebx
mov dword [esp + 0x14], eax
je 0x5326f1
mov eax, 0x100ef4b8
mov dword [esp + 0x10c], ebx
mov edx, dword [esp + 0x10c]
mov ecx, 0x100ef4b4
mov dword [esp + 0x114], ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.00535fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x70]
mov esi, eax
mov eax, dword [edx]
cmp esi, eax
je 0x532678
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
test edx, edx
jne 0x532790
mov eax, dword [esp + 0x70]
push ebx
push esi
push eax
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x532790
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov eax, dword [esp + 0x78]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push edi
push 1
push edx
mov byte [esp + 0x90], al
call dword [0x100cf260]
cmp byte [esp + 0x84], bl
je 0x5326e5
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x5326e5
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x5326e5
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
sub dword [esp + 0x10], 1
jns 0x5325d0
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x53273e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x17c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x194], bl
je 0x53273e
mov esi, dword [esp + 0x190]
call fcn.005154d0
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x532363
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x19c]
call fcn.00532c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x1b4], bl
je 0x532363
mov esi, dword [esp + 0x1b0]
call fcn.005154d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [esp + 0x6c]
call fcn.00535290
test al, al
jne 0x532678
jmp 0x532681
lea eax, [esp + 0x1dc]
call fcn.00532c00
mov edx, dword [0x100ef808]
push edi
mov edi, dword [0x100cf260]
push 1
push edx
call edi
cmp byte [esp + 0x1f4], bl
je 0x5327da
mov esi, dword [esp + 0x1f0]
call fcn.005154d0
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x532818
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x21c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call edi
cmp byte [esp + 0x234], bl
je 0x532818
mov esi, dword [esp + 0x230]
call fcn.005154d0
mov esi, dword [esp + 0xf8]
cmp esi, ebx
je 0x53285e
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x25c]
call fcn.00532c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x274], bl
je 0x53285e
mov esi, dword [esp + 0x270]
call fcn.005154d0
lea edi, [esp + 0xb8]
mov dword [esp + 0x10], 1
lea ecx, [ecx]
mov esi, dword [edi - 0xc]
sub edi, 0xc
cmp esi, ebx
je 0x5328f5
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x29c]
call fcn.00532c00
mov edx, dword [0x100ef808]
push esi
push 1
push edx
call dword [0x100cf260]
cmp byte [esp + 0x2b4], bl
je 0x5328ed
mov esi, dword [esp + 0x2b0]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
lea eax, [esi + 0x10]
jne 0x5328ed
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x5328ed
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
sub dword [esp + 0x10], 1
jns 0x532870
xor ebx, ebx
jmp 0x532349
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0xbc]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], edx
call fcn.00475be0
xor eax, eax
lea edi, [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.00475be0
push 0x100da858
mov eax, edi
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.004ccef0
mov eax, dword [esp + 0x94]
add esp, 0xc
test eax, eax
je 0x532977
call fcn.00472510
xor esi, esi
lea edi, [esp + 0xbc]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [edi]
push 0
call fcn.004981a0
test eax, eax
jne 0x5329bb
push ebx
call dword [0x100cf130]
cmp eax, 0xffffffff
jne 0x5329a9
push ebx
call fcn.0053f990
add esp, 4
add esi, 1
add edi, 0xc
cmp esi, 2
jb 0x532980
xor ebx, ebx
jmp 0x532a9f
lea eax, [esi + esi*2]
mov ebx, dword [esp + eax*4 + 0xbc]
lea edi, [esp + 0x34]
call fcn.00475be0
push 0
lea ecx, [esp + 0x14c]
push ecx
call fcn.00525970
mov ebx, dword [esp + 0x20]
add ebx, 2
lea esi, [esp + 0x118]
call fcn.00525a20
mov esi, dword [ebp + 0xc]
call fcn.0052df60
test eax, eax
mov eax, dword [esp + 0x128]
jne 0x532a74
xor edi, edi
cmp eax, edi
je 0x532a0e
call fcn.00472510
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x532a1e
call fcn.00472510
mov eax, dword [esp + 0x14c]
cmp eax, edi
je 0x532a2e
call fcn.00472510
lea esi, [esp + 0xd4]
mov ebx, 1
lea ebx, [ebx]
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, edi
je 0x532a57
call fcn.00472510
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
sub ebx, 1
jns 0x532a40
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x532a69
call fcn.00472510
mov eax, dword [esp + 0x34]
cmp eax, edi
jmp 0x53235c
xor ebx, ebx
cmp eax, ebx
je 0x532a7f
call fcn.00472510
mov eax, dword [esp + 0x11c]
cmp eax, ebx
je 0x532a8f
call fcn.00472510
mov eax, dword [esp + 0x14c]
cmp eax, ebx
je 0x532a9f
call fcn.00472510
lea esi, [esp + 0xd4]
mov edi, 1
jmp 0x532ab0
mov eax, dword [esi - 0xc]
sub esi, 0xc
cmp eax, ebx
je 0x532ac7
call fcn.00472510
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
sub edi, 1
jns 0x532ab0
xor ebx, ebx
jmp 0x532349
call fcn.00532b30
mov eax, dword [esp + 0x138]
test eax, eax
je 0x532ae8
call fcn.00472510
mov eax, 2
push 0x100019b0
lea ebx, [eax + 0xa]
lea ecx, [esp + 0xdc]
call fcn.0047c9c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x532b0e
call fcn.00472510
mov eax, dword [esp + 0x18]
test eax, eax
je 0x532b1b
call fcn.00472510
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x53235c