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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x52f53b
sub esp, 0x98
mov eax, dword [esp + 0xac]
cmp eax, 3
jge 0x52f39a
jge 0x52f1b9
cmp eax, 2
jne 0x52f1aa
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x52f132
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x52f129
mov ebx, dword [esp + 0xb0]
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], edx
lea eax, [0x78bd80]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x53e950]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov edx, dword [0xadb480]
test edx, edx
jne 0x52f10a
mov edx, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [eax + 0xc], ebx
mov ebp, dword [esp + 0x40]
test ebp, ebp
jne 0x52ee7b
lea edi, [esp + 0x70]
lea esi, [0x844a70]
call fcn.0044ce4e
mov eax, dword [esp + 0xac]
cmp eax, 3
jge 0x52ecbe
jge 0x52eba6
cmp eax, 2
jne 0x52eba1
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x52eb78
lea eax, [0x78fb20]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x52eb6c
mov dword [edi], edx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52eb59
mov dword [edi + 0xc], eax
lea eax, [0x8452f0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
lea ecx, [0x761d20]
mov dword [esp], ecx
call fcn.00409cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52eb47
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x98
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044c870
mov eax, ecx
jmp 0x52eb0d
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044c870
mov edi, edx
jmp 0x52ead6
mov eax, edx
call fcn.0044c870
jmp 0x52eab7
cmp eax, 3
jne 0x52f4d9
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x52f4d9
movzx ecx, byte [edx + 2]
cmp cl, 0x34
je 0x52ea83
jmp 0x52f4d9
cmp eax, 3
jmp 0x52eb7b
je 0x52ec6b
jne 0x52ebcc
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x52ec63
movzx ecx, byte [edx + 2]
cmp cl, 0x36
je 0x52ea83
cmp eax, 3
jne 0x52f4d9
movzx ecx, word [edx]
cmp cx, 0x6374
jne 0x52f4d9
movzx ecx, byte [edx + 2]
cmp cl, 0x70
jne 0x52f4d9
lea eax, [0x79ba00]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [0xadb480]
test eax, eax
jne 0x52ec5a
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52ec4a
mov dword [edi + 0x10], eax
lea eax, [0x845330]
jmp 0x52eadc
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044c870
mov edi, edx
jmp 0x52ec3f
mov eax, ecx
call fcn.0044c870
jmp 0x52ec1d
cmp eax, 3
jmp 0x52ebcc
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x7d449f]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52eca4
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
jmp 0x52ea6c
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x52ebac
je 0x52ee24
cmp eax, 4
jge 0x52ed89
cmp eax, 3
jne 0x52ed84
movzx ecx, word [edx]
cmp cx, 0x6475
jne 0x52ed7f
movzx ecx, byte [edx + 2]
cmp cl, 0x70
jne 0x52ed63
lea eax, [0x79ba80]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x52ed5a
mov dword [edi], edx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52ed4a
mov dword [edi + 0x10], eax
lea eax, [0x845350]
jmp 0x52eadc
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044c870
mov edi, edx
jmp 0x52ed3f
mov eax, edx
call fcn.0044c870
jmp 0x52ed1d
cmp eax, 4
jne 0x52f4d9
mov ecx, dword [edx]
cmp ecx, 0x34706374
je 0x52ebed
jmp 0x52f4d9
cmp eax, 4
jmp 0x52ed66
cmp eax, 4
jmp 0x52ed66
je 0x52edca
jne 0x52ed9e
mov ecx, dword [edx]
cmp ecx, 0x36706374
je 0x52ebed
cmp eax, 4
jne 0x52edb1
mov ecx, dword [edx]
cmp ecx, 0x34706475
je 0x52eced
cmp eax, 4
jne 0x52f4d9
mov ecx, dword [edx]
cmp ecx, 0x36706475
je 0x52eced
jmp 0x52f4d9
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x7d483e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52ee0a
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x52ecd0
mov eax, dword [esp + 0xac]
cmp eax, 4
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x52ed8b
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x7d44d8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52ee64
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x52ea66
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x52ecc4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00530750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x52f0d4
cmp ebp, 1
je 0x52ef98
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x52ef8f
mov edx, dword [esp + 0xa8]
movzx esi, byte [edx + ecx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
jne 0x52ef83
test ecx, ecx
lea esi, [0x7f12d0]
je 0x52ef7f
movzx ecx, byte [edx + ecx - 1]
cmp cl, 0x36
jne 0x52ef7f
lea ecx, [0x7f12d4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.0052dde0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
add esp, 0x98
ret
mov ecx, esi
jmp 0x52ef15
test ecx, ecx
mov esi, 0
jmp 0x52ef03
mov edx, dword [esp + 0xa8]
jmp 0x52ef85
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [0xac3bb4]
mov edx, dword [0xac3bb0]
mov ebx, dword [0xac3bb8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.0052a400
movzx eax, byte [esp + 0x18]
test al, al
je 0x52f0c3
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044c96b
mov ecx, dword [0xac9838]
mov edx, dword [0xac983c]
mov ebx, dword [0xac9840]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
jg 0x52f089
mov eax, dword [esp + 0x50]
lea ecx, [ecx + ecx*4]
mov ebp, dword [0xadb480]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x52f052
lea esi, [esp + 0x84]
call fcn.0044ce4e
mov ebp, edx
jmp 0x52eed5
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
lea eax, [0x78fb20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.0040f540
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x52f04b
lea eax, [0x78fb20]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x52f02f
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x52eed5
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0x98
ret
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa8]
call fcn.0044c870
mov eax, edx
mov edx, dword [esp + 0xa8]
jmp 0x52ea34
xor edx, edx
xor ebx, ebx
jmp 0x52e9ea
cmp eax, 3
jne 0x52f14e
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x52f14e
movzx edx, byte [ecx + 2]
cmp dl, 0x34
je 0x52e9d4
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x844590]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00407800
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x98
ret
cmp eax, 3
mov ecx, dword [esp + 0xa8]
jmp 0x52f135
je 0x52f352
jne 0x52f346
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x52f33e
movzx edx, byte [ecx + 2]
cmp dl, 0x36
je 0x52e9d4
cmp eax, 3
jne 0x52f14e
movzx edx, word [ecx]
cmp dx, 0x6374
jne 0x52f14e
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x52f14e
mov edx, dword [esp + 0xb4]
test edx, edx
jne 0x52f227
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, ebp
mov ebp, edx
mov edx, esi
jmp 0x52e9ec
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0052e110
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test ebp, ebp
jne 0x52f308
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.00531130
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x52f2d2
mov ecx, dword [esp + 0xa8]
mov edx, eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0xac]
jmp 0x52f21c
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x98
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], esi
add esp, 0x98
ret
cmp eax, 3
jmp 0x52f1ea
mov ecx, dword [esp + 0xa8]
jmp 0x52f1ea
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7d449f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52f38b
mov eax, dword [esp + 0xac]
jmp 0x52e9b6
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x52f1bf
je 0x52f491
cmp eax, 4
jge 0x52f3f5
cmp eax, 3
jne 0x52f3e9
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x6475
jne 0x52f3e4
movzx edx, byte [ecx + 2]
cmp dl, 0x70
je 0x52f20b
cmp eax, 4
jne 0x52f14e
mov edx, dword [ecx]
cmp edx, 0x34706374
je 0x52f20b
jmp 0x52f14e
cmp eax, 4
jmp 0x52f3cb
cmp eax, 4
mov ecx, dword [esp + 0xa8]
jmp 0x52f3cb
je 0x52f446
jne 0x52f43d
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
cmp edx, 0x36706374
je 0x52f20b
cmp eax, 4
jne 0x52f424
mov edx, dword [ecx]
cmp edx, 0x34706475
je 0x52f20b
cmp eax, 4
jne 0x52f14e
mov edx, dword [ecx]
cmp edx, 0x36706475
je 0x52f20b
jmp 0x52f14e
mov ecx, dword [esp + 0xa8]
jmp 0x52f411
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7d483e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52f482
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x52f3a8
mov eax, dword [esp + 0xac]
cmp eax, 4
jmp 0x52f3f7
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7d44d8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x52f4cd
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x52e9b0
mov eax, dword [esp + 0xac]
jmp 0x52f3a0
mov dword [esp], 0
lea ecx, [0x7db9d0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0043bcb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x7716e0]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427310
ud2
call fcn.0044b110
jmp fcn.0052e980