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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
push edi
mov dword [esp + 0x14], esi
jne 0x51ca16
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.006171cc
add esp, 4
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x51caf7
cmp byte [esi + 0x23], 0
je 0x51caf7
add esi, 0x24
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51ca57
mov ebp, dword [esp + 0x54]
jmp 0x51ca5a
or ebp, 0xffffffff
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51ca72
mov ebx, dword [esp + 0x7c]
jmp 0x51ca75
or ebx, 0xffffffff
mov edi, dword [esp + 0x14]
add edi, 0x2c
lea edx, [esp + 0x98]
push edi
push edx
call fcn.00614441
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x34]
push edi
not esi
and esi, dword [esp + 0xb0]
push eax
call fcn.00614441
add esp, 0x10
test eax, eax
jne 0x51cab2
mov eax, dword [esp + 0x3c]
inc eax
jmp 0x51cab4
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push esi
push eax
mov ecx, edi
call fcn.0043b110
push eax
lea ecx, [esp + 0x30]
call fcn.004aa750
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jl 0x51caed
jg case.default.0x51cd48
cmp ecx, eax
ja case.default.0x51cd48
sub eax, ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51cb14
mov eax, dword [esp + 0x44]
inc eax
jmp 0x51cb16
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x51cb20
jmp dword [eax*4 + 0x51d0fc]
mov ecx, esi
test byte [ecx + 0x3c], 0x40
jmp 0x51cb5d
mov edx, esi
test byte [edx + 0x3c], 1
jmp 0x51cb5d
mov eax, esi
test byte [eax + 0x3c], 2
jmp 0x51cb5d
mov ecx, esi
test byte [ecx + 0x3c], 4
jmp 0x51cb5d
mov edx, esi
test byte [edx + 0x3c], 8
jmp 0x51cb5d
mov eax, esi
test byte [eax + 0x3c], 0x10
jmp 0x51cb5d
mov ecx, esi
test byte [ecx + 0x3c], 0x20
je case.default.0x51cb20
add esi, 0x24
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51cb7e
mov edi, dword [esp + 0x30]
jmp 0x51cb81
or edi, 0xffffffff
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51cb9f
mov ebp, dword [esp + 0xa0]
jmp 0x51cba2
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00614441
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
not esi
and esi, dword [esp + 0x8c]
push ecx
call fcn.00614441
add esp, 0x10
test eax, eax
jne 0x51cbdd
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x51cbdf
xor ebx, ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51cc06
mov eax, dword [esp + 0xd0]
add eax, 0x76c
jmp 0x51cc08
xor eax, eax
push 0xffffffffffffffff
push 0
push edi
push ebp
push esi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004aa750
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jg 0x51cc3e
jl 0x51cc32
cmp ebx, esi
jae 0x51cc3e
mov eax, esi
sub eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
cmp byte [edi + 4], 0
jne case.default.0x51cb20
cmp byte [edi + 0xc], 0
je case.default.0x51cb20
cmp byte [edi + 0x22], 0
je 0x51ccb1
push 0xffffffffffffffff
lea ebx, [edi + 0x34]
push 0
mov ecx, ebx
call fcn.0044f830
push eax
mov ecx, ebx
call fcn.0044f800
push eax
lea ecx, [esp + 0x2c]
call fcn.0043b170
push eax
lea ecx, [esp + 0x30]
call fcn.0043b140
push eax
lea ecx, [esp + 0x34]
call fcn.0043b110
push eax
lea ecx, [esp + 0x40]
call fcn.004aa750
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
lea ecx, [esp + 0x2c]
call fcn.0051bdd0
test al, al
jne case.default.0x51cb20
mov eax, dword [edi + 8]
test eax, eax
je case.default.0x51cb20
push 0xffffffffffffffff
mov ecx, eax
shl ecx, 4
push 0x3b
sub ecx, eax
push 0x3b
lea esi, [esi + ecx*4]
push 0x17
lea ecx, [esp + 0x2c]
call fcn.0043b170
push eax
lea ecx, [esp + 0x30]
call fcn.0043b140
push eax
lea ecx, [esp + 0x34]
call fcn.0043b110
push eax
lea ecx, [esp + 0x40]
call fcn.004aa750
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge case.default.0x51cb20
lea esp, [esp]
cmp esi, ebx
jg 0x51cc32
mov eax, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
lea esi, [esi + edx*4]
cmp esi, ecx
jl 0x51cd00
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51cd3c
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x51cd3e
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x51cd48
jmp dword [eax*4 + 0x51d118]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 1
jne 0x51cffe
test al, 2
je 0x51cd6c
mov esi, 2
jmp 0x51d003
test al, 4
je 0x51cd7a
mov esi, 3
jmp 0x51d003
test al, 8
je 0x51cd88
mov esi, 4
jmp 0x51d003
test al, 0x10
je 0x51cd96
mov esi, 5
jmp 0x51d003
test al, 0x20
je 0x51cda4
mov esi, 6
jmp 0x51d003
test al, 0x40
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 2
jne 0x51cffe
test al, 4
je 0x51cdd3
mov esi, 2
jmp 0x51d003
test al, 8
je 0x51cde1
mov esi, 3
jmp 0x51d003
test al, 0x10
je 0x51cdef
mov esi, 4
jmp 0x51d003
test al, 0x20
je 0x51cdfd
mov esi, 5
jmp 0x51d003
test al, 0x40
je 0x51ce0b
mov esi, 6
jmp 0x51d003
test al, 1
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 4
jne 0x51cffe
test al, 8
je 0x51ce3a
mov esi, 2
jmp 0x51d003
test al, 0x10
je 0x51ce48
mov esi, 3
jmp 0x51d003
test al, 0x20
je 0x51ce56
mov esi, 4
jmp 0x51d003
test al, 0x40
je 0x51ce64
mov esi, 5
jmp 0x51d003
test al, 1
je 0x51ce72
mov esi, 6
jmp 0x51d003
test al, 2
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 8
jne 0x51cffe
test al, 0x10
je 0x51cea1
mov esi, 2
jmp 0x51d003
test al, 0x20
je 0x51ceaf
mov esi, 3
jmp 0x51d003
test al, 0x40
je 0x51cebd
mov esi, 4
jmp 0x51d003
test al, 1
je 0x51cecb
mov esi, 5
jmp 0x51d003
test al, 2
je 0x51ced9
mov esi, 6
jmp 0x51d003
test al, 4
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x10
jne 0x51cffe
test al, 0x20
je 0x51cf08
mov esi, 2
jmp 0x51d003
test al, 0x40
je 0x51cf16
mov esi, 3
jmp 0x51d003
test al, 1
je 0x51cf24
mov esi, 4
jmp 0x51d003
test al, 2
je 0x51cf32
mov esi, 5
jmp 0x51d003
test al, 4
je 0x51cf40
mov esi, 6
jmp 0x51d003
test al, 8
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x20
jne 0x51cffe
test al, 0x40
je 0x51cf6f
mov esi, 2
jmp 0x51d003
test al, 1
je 0x51cf7d
mov esi, 3
jmp 0x51d003
test al, 2
je 0x51cf88
mov esi, 4
jmp 0x51d003
test al, 4
je 0x51cf93
mov esi, 5
jmp 0x51d003
test al, 8
je 0x51cf9e
mov esi, 6
jmp 0x51d003
test al, 0x10
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x40
jne 0x51cffe
test al, 1
je 0x51cfc3
mov esi, 2
jmp 0x51d003
test al, 2
je 0x51cfce
mov esi, 3
jmp 0x51d003
test al, 4
je 0x51cfd9
mov esi, 4
jmp 0x51d003
test al, 8
je 0x51cfe4
mov esi, 5
jmp 0x51d003
test al, 0x10
je 0x51cfef
mov esi, 6
jmp 0x51d003
test al, 0x20
je case.default.0x51cd48
mov esi, 7
jmp 0x51d003
mov esi, 1
lea edi, [ecx + 0x24]
lea edx, [esp + 0xbc]
push edi
push edx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51d028
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x51d030
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51d048
mov ebp, dword [esp + 0x34]
jmp 0x51d04b
or ebp, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.00614441
mov edi, eax
neg edi
sbb edi, edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x80]
not edi
and edi, dword [esp + 0xb0]
push edx
call fcn.00614441
add esp, 0x10
test eax, eax
jne 0x51d08f
mov ebx, dword [esp + 0x84]
inc ebx
jmp 0x51d091
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00614441
add esp, 8
test eax, eax
jne 0x51d0b2
mov eax, dword [esp + 0x64]
add eax, 0x76c
jmp 0x51d0b4
xor eax, eax
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edx
push ebp
push edi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004aa750
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.0051bd70
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 4]
add edx, ecx
mov ecx, dword [esp + 0x28]
adc ecx, eax
mov eax, edx
sub eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret