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

Disassembly:
mov ecx, dword [0x87b40c]
mov dl, byte [ecx + 0x7796c]
sub esp, 0x108
test dl, dl
mov eax, 0x2329
je 0x51a330
mov eax, 0x232a
mov dl, byte [ecx + 0x26db8]
test dl, dl
push 0
push 0x66
push 0x35
jne 0x51a344
push 0
jmp 0x51a346
push 1
push eax
call fcn.0052abc0
mov eax, dword [0x87b3ac]
add esp, 0x14
test eax, eax
je 0x51a88a
mov eax, dword [0x87b40c]
push ebx
push ebp
push esi
xor edx, edx
mov ebp, 0x94
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
xor ecx, ecx
xor edi, edi
jmp 0x51a380
mov bl, byte [eax + edi + 0x2614e]
test bl, bl
jne 0x51a39b
mov bl, byte [eax + edi + 0x26135]
test bl, bl
je 0x51a39b
cmp edx, ecx
je 0x51a3a6
inc ecx
inc edi
cmp edi, 8
jl 0x51a380
jmp 0x51a86a
cmp edi, 0xffffffff
je 0x51a86a
mov cl, byte [eax + 0x26db8]
test cl, cl
mov edx, dword [eax + 0x1a638]
jne 0x51a413
lea ecx, [esp + 0x98]
push ecx
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
cmp edi, dword [esp + 0x98]
push 0
jne 0x51a40c
lea eax, [ebp - 1]
push eax
push 0x38
push 6
push 0x2329
call fcn.0052abc0
push 0
push ebp
push 0x3d
push 4
push 0x2329
call fcn.0052abc0
add esp, 0x28
jmp 0x51a472
push ebp
push 0x3d
push 2
jmp 0x51a465
lea ecx, [esp + 0xe8]
push ecx
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
cmp edi, dword [esp + 0xe8]
push 0
jne 0x51a460
lea eax, [ebp - 1]
push eax
push 0x38
push 6
push 0x2329
call fcn.0052abc0
push 0
push ebp
push 0x3d
push 4
push 0x2329
call fcn.0052abc0
add esp, 0x28
jmp 0x51a472
push ebp
push 0x3d
push 7
push 0x2329
call fcn.0052abc0
add esp, 0x14
mov ecx, dword [0x87b40c]
movzx edx, word [ecx + edi*2 + 0x26468]
push 0
lea esi, [ebp + 6]
push esi
push 0x5a
push edx
push 0x65
call fcn.0052abc0
mov eax, dword [0x87b40c]
movzx ecx, word [eax + edi*2 + 0x26478]
push 0
push esi
push 0x5a
push ecx
push 0x66
call fcn.0052abc0
mov edx, dword [0x87b40c]
lea esi, [edi + edi*4]
shl esi, 2
push 0xfe48
lea eax, [esi + edx + 0x24165]
push eax
lea ebx, [ebp + 7]
push ebx
push 0x75
call fcn.0052aa60
mov ecx, dword [0x87b40c]
push 0
lea edx, [esi + ecx + 0x24165]
push edx
push ebx
push 0x75
call fcn.0052ab10
mov ecx, dword [0x87b40c]
mov edx, dword [ecx + edi*8 + 0x26c04]
add esp, 0x48
lea eax, [esp + 0x108]
push eax
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0x108]
test eax, eax
jge 0x51a58b
mov ecx, dword [0x87b40c]
mov edx, dword [ecx + edi*8 + 0x26c04]
lea eax, [esp + 0x78]
push eax
push edx
call fcn.004c7160
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0x78]
neg eax
push eax
lea ecx, [esp + 0x3c]
push 0x579788
push ecx
call fcn.00548ff0
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51a560
sub eax, edx
imul eax, eax, 7
push 0
lea edx, [ebp + 8]
push edx
mov ecx, 0xff
sub ecx, eax
push ecx
push 0xe0
push 0x32
call fcn.0052abc0
add esp, 0x14
jmp 0x51a5cb
mov eax, dword [0x87b40c]
mov ecx, dword [eax + edi*8 + 0x26c04]
lea edx, [esp + 0xf8]
push edx
push ecx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov edx, dword [esp + 0xf8]
push edx
lea eax, [esp + 0x3c]
push 0x579788
push eax
call fcn.00548ff0
add esp, 0xc
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51a5d2
sub eax, edx
mov ecx, eax
lea eax, [esp + 0x38]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x51a5e4
push 7
push ecx
sub eax, esi
imul eax, eax, 7
lea ecx, [esp + 0x40]
push ecx
push 0x52
push 0x32
add ebp, 8
mov edx, 0x106
sub edx, eax
push ebp
push edx
call fcn.0052ac80
push 0
push ebp
push 0x108
push 0x5c
push 0x32
call fcn.0052abc0
mov ecx, dword [0x87b40c]
add esp, 0x30
lea eax, [esp + 0x58]
lea edi, [edi*8 + 0x26c40]
mov edx, dword [edi + ecx + 4]
push eax
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0x58]
test eax, eax
mov ecx, dword [0x87b40c]
mov edx, dword [edi + ecx + 4]
jge 0x51a6bb
lea eax, [esp + 0xd8]
push eax
push edx
call fcn.004c7160
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0xd8]
neg eax
push eax
lea ecx, [esp + 0x1c]
push 0x579788
push ecx
call fcn.00548ff0
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51a693
sub eax, edx
imul eax, eax, 7
push 0
push ebp
mov edx, 0x138
sub edx, eax
push edx
push 0xe1
push 0x32
call fcn.0052abc0
add esp, 0x14
jmp 0x51a6ef
lea eax, [esp + 0xb8]
push eax
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c]
push 0x579788
push ecx
call fcn.00548ff0
add esp, 0xc
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51a6f6
sub eax, edx
mov ecx, eax
lea eax, [esp + 0x18]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x51a708
push 7
push ecx
sub eax, esi
imul eax, eax, 7
lea edx, [esp + 0x20]
push edx
push 0x5d
push 0x32
mov ecx, 0x13f
sub ecx, eax
push ebp
push ecx
call fcn.0052ac80
push 0
push ebp
push 0x142
push 0x67
push 0x32
call fcn.0052abc0
mov eax, dword [0x87b40c]
movzx ecx, word [eax + 0x77494]
add esp, 0x30
sub ecx, 0
je 0x51a834
dec ecx
je 0x51a7cb
dec ecx
jne 0x51a866
mov eax, dword [eax + 0x77974]
lea edx, [esp + 0x68]
push edx
push eax
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov edx, dword [0x87b40c]
mov eax, dword [edx + 0x7797c]
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.004c7160
mov esi, eax
call fcn.00403210
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0x88]
jle 0x51a861
mov edx, dword [esp + 0x10]
push 0
add edx, 0x17
push edx
push 0x16f
push 0
push 0x9049b
jmp 0x51a859
mov edx, dword [eax + 0x77984]
lea ecx, [esp + 0xa8]
push ecx
push edx
call fcn.004c7160
mov ebx, 1
mov esi, eax
call fcn.00403210
mov ecx, dword [0x87b40c]
mov edx, dword [ecx + 0x7798c]
lea eax, [esp + 0xc8]
push eax
push edx
call fcn.004c7160
mov esi, eax
call fcn.00403210
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xc8]
jle 0x51a861
mov ecx, dword [esp + 0x10]
push 0
add ecx, 0x17
push ecx
push 0x16f
push 0
push 0x9049b
jmp 0x51a859
mov cl, byte [eax + 0x26db8]
test cl, cl
jne 0x51a866
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x77be4]
push 0
add edx, 0x17
push edx
push 0x16f
push eax
push 0x9049d
call fcn.0052abc0
add esp, 0x14
mov eax, dword [0x87b40c]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ebp, 0x36
inc edx
cmp ebp, 0x16c
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
jl 0x51a374
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret