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

Disassembly:
push edi
push esi
push ebp
push ebx
push edx
push eax
mov eax, 0x20
call fcn.00602270
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x3c]
mov esi, 1
mov bl, 1
call fcn.00502374
test eax, eax
je 0x53153b
mov dword [esp + 4], esi
mov ebp, eax
mov esi, dword [ebp + 0x6e]
test bl, bl
jne 0x531383
test esi, esi
jne 0x531374
mov edx, dword [esp + 4]
test edx, edx
jne 0x53154c
test esi, esi
je 0x531383
mov esi, edx
jmp 0x53153b
mov edx, dword [esp + 4]
test edx, edx
jne 0x531383
mov esi, edx
jmp 0x53153b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, dword [ebp + 0x72]
je 0x5313a3
xor edx, edx
mov dword [esp], edx
test bl, bl
je 0x531511
jmp 0x53151d
movzx edx, word [ebp + 0x81]
mov dword [esp], edx
test edx, edx
je 0x531452
lea edi, [edx + edx]
add edi, edi
mov dword [esp + 8], edi
lea ecx, [edi + edx*8 + 0x690620]
lea edx, [esp + 0x18]
lea edi, [esp + 0x14]
push edi
push edx
push 0x2c
call fcn.0051ab7c
mov edi, dword [esp + 8]
mov edx, dword [esp]
mov edx, dword [edi + edx*8 + 0x690628]
cmp byte [edx], 0x21
je 0x531568
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
movzx edi, word [esp + 0x18]
push 0
mov eax, dword [esp + 0x40]
push eax
push edi
call dword [edx + 0x40]
test eax, eax
je 0x53155e
mov ecx, eax
call fcn.00502374
mov edi, eax
test edi, edi
je 0x531448
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x3c]
movzx edx, word [esp + 0x14]
push esi
push edx
push edi
mov ecx, ebp
call fcn.005315d0
test eax, eax
jne 0x531550
mov ecx, edi
call fcn.004f0a0c
mov edi, eax
test edi, edi
jne 0x531420
mov esi, dword [esp + 0xc]
xor edx, edx
mov dword [esp], edx
jmp 0x5314e3
lea ecx, [esp + 0x1c]
push 0
call fcn.004ff2a8
lea edx, [esp + 0x1c]
movsx edi, word [ebp + 0x76]
push 0
mov eax, dword [esp + 0x40]
push eax
push edi
push edx
mov ecx, dword [esp + 0x20]
call fcn.004ef320
cmp eax, 1
je 0x5315bc
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x5314c2
mov edx, dword [ebp + 0x6a]
test edx, edx
je 0x5314c2
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x3c]
movsx esi, word [eax + 0x13]
add esi, esi
mov edi, dword [0x65fdf8]
push eax
push edx
push dword [edi + esi*8]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
call fcn.00435560
mov dword [esp], eax
lea ecx, [esp + 0x1c]
call fcn.00500418
jmp 0x5314e3
lea ecx, [esp + 0x1c]
xor edx, edx
mov dl, byte [ebp + 0x7c]
mov dword [esp + 8], edx
push dword [ebp + 0x5e]
call fcn.00531770
mov dword [esp], eax
lea ecx, [esp + 0x1c]
call fcn.00500418
mov edx, dword [ebp + 0x7d]
test edx, edx
je 0x5314f7
xor eax, eax
mov edx, dword [esp]
test edx, edx
sete al
mov dword [esp], eax
test bl, bl
jne 0x53151d
mov edx, dword [esp]
test edx, edx
je 0x531511
test esi, esi
jne 0x531526
mov edx, 1
mov dword [esp + 4], edx
jmp 0x531526
test esi, esi
je 0x531526
xor edx, edx
mov dword [esp + 4], edx
jmp 0x531526
mov edx, dword [esp]
mov dword [esp + 4], edx
xor bl, bl
mov ecx, ebp
call fcn.004f0a0c
mov ebp, eax
test ebp, ebp
jne 0x531352
mov esi, dword [esp + 4]
xor eax, eax
test esi, esi
sete al
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov esi, edx
jmp 0x53153b
mov esi, dword [esp + 0xc]
mov edx, 1
mov dword [esp], edx
jmp 0x5314e3
xor edx, edx
mov dword [esp], edx
jmp 0x5314e3
inc edx
push edx
mov ecx, dword [0x65f510]
call fcn.004f3a7c
mov word [esp + 0x18], ax
mov edi, dword [esp + 0x3c]
push edi
push eax
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.005315d0
test eax, eax
je 0x53159d
mov edx, 1
mov dword [esp], edx
jmp 0x5314e3
movzx edi, word [esp + 0x14]
mov edx, dword [esp + 0x3c]
push edx
push edi
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.005315d0
mov dword [esp], eax
jmp 0x5314e3
lea ecx, [esp + 0x1c]
call fcn.00500418
xor edx, edx
mov dword [esp], edx
jmp 0x5314e3