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

Disassembly:
push 0xffffffffffffffff
push 0x5ef3b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x1cd3de8]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x68], esi
cmp dword [edi + 0xd4], esi
jne 0x51e025
mov dword [esp + 0x70], eax
push 0xa206
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 1
call fcn.005c42dc
mov esi, dword [esp + 0x70]
push 0x2040
call fcn.00489e90
push eax
push esi
mov ecx, ebp
call fcn.005c109b
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x70]
jmp 0x51e5eb
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x108]
push 0xb0
mov ebx, eax
call fcn.005bd525
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
mov byte [esp + 0x68], 2
je 0x51e090
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x18]
push 0
lea ecx, [edx + 0x3e8]
sub esp, 0x10
mov dword [esp + 0x6c], ecx
lea ecx, [esi + 0x226]
mov dword [esp + 0x70], ecx
mov ecx, esp
push ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 0xc], edx
mov ecx, eax
call fcn.00540af0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x51e094
mov dword [esp + 0x10], esi
push 0x108
mov byte [esp + 0x6c], 0
call fcn.005bd525
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x68], 3
je 0x51e0f2
push 0
mov edx, 0x32
sub esp, 0x10
mov ecx, 0x2ee
mov eax, esp
mov dword [eax], edx
mov edx, esp
mov dword [esp + 0x84], eax
mov eax, 0x96
mov dword [edx + 4], eax
mov eax, 0x1f4
push ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
call fcn.00549bd0
mov dword [esp + 0x70], eax
jmp 0x51e0fe
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
push 0
mov dword [eax + 0x98], ecx
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x70], 0
call dword [edx + 0x2dc]
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.004cd2a0
mov esi, dword [eax]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov ebx, dword [eax + 4]
mov dword [esp + 0x4c], esi
call fcn.004cd310
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 4]
mov edx, dword [0x1cd3de8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edx
mov ecx, esi
mov byte [esp + 0x68], 4
cmp ecx, eax
mov dword [esp + 0x1c], 0
jg 0x51e1c3
push ebx
push esi
mov ecx, edi
call fcn.004bbf90
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.00546ed0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.005bd91d
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 4
call fcn.005bd7e4
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005bd559
call fcn.00535130
add esp, 4
test eax, eax
je 0x51e27d
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jle 0x51e167
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], ebx
cmp ebx, eax
jg 0x51e35d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
mov dword [esp + 0x24], eax
jg 0x51e348
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.004bbf90
mov esi, eax
test esi, esi
je 0x51e333
cmp dword [esp + 0x74], ebx
jne 0x51e2c0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x51e2c0
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
call fcn.00546ed0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 6
call fcn.005bd91d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 4
call fcn.005bd7e4
lea eax, [esp + 0x14]
push 0x1cd7e24
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.005bda79
mov edx, dword [esp + 0x70]
push eax
mov byte [esp + 0x6c], 7
lea ecx, [edx + 0x9c]
call fcn.005bdbfc
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 4
call fcn.005bd7e4
jmp 0x51e333
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], 1
sub eax, ebx
jne 0x51e1c3
push 0x2040
call fcn.00489e90
push eax
push 0x1cd91a4
mov ecx, ebp
call fcn.005c109b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x51e5e2
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x51e5e2
push 1
push 2
lea eax, [esp + 0x3c]
push ebp
push eax
mov ecx, esi
call fcn.005479c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 8
call fcn.005bd91d
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 4
call fcn.005bd7e4
push 0
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, edi
call fcn.004bbeb0
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 4]
sub eax, ebx
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x51e313
dec esi
push 0
push 0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.005bd559
mov ecx, dword [esp + 0x7c]
push esi
push ebp
call fcn.0054bd90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x51e1e7
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x74], eax
jle 0x51e1d3
mov ecx, dword [esp + 0x70]
push ebp
call fcn.0054b910
mov ecx, dword [0x1cd3de8]
mov dword [esp + 0x28], ecx
push 0xa293
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 9
call fcn.005c42dc
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.005bd559
mov esi, dword [esp + 0x14]
push ebp
mov ecx, esi
call fcn.00541d00
mov eax, dword [0x1cd3de8]
mov dword [esp + 0x20], eax
push 0xa271
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0xa
call fcn.005c42dc
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x51e568
mov eax, dword [0x1cd3de8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], eax
push 0xa27e
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0xc
call fcn.005c42dc
mov ecx, dword [esp + 0x24]
push 0x2024
mov dword [esp + 0x38], ecx
call fcn.00489e90
mov edx, dword [esp + 0x38]
push eax
push edx
mov ecx, ebp
call fcn.005c109b
cmp eax, 6
jne 0x51e4bd
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
cmp esi, eax
jg 0x51e526
mov eax, dword [esp + 0x70]
add eax, 0x9c
mov dword [esp + 0x70], eax
push 0
push esi
mov ecx, edi
call fcn.004bbf90
test eax, eax
jne 0x51e454
lea ecx, [esi + 1]
lea edx, [esp + 0x74]
push ecx
push 0x1c71d0c
push edx
call fcn.005b9aa3
add esp, 0xc
jmp 0x51e47d
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00546ed0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0xd
call fcn.005bd91d
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 0xc
call fcn.005bd7e4
lea edx, [esp + 0x74]
push 0x1cd7e24
lea eax, [esp + 0x34]
push edx
push eax
call fcn.005bda79
mov ecx, dword [esp + 0x70]
push eax
mov byte [esp + 0x6c], 0xe
call fcn.005bdbfc
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0xc
call fcn.005bd7e4
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jle 0x51e42e
jmp 0x51e526
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
sub edi, ecx
js 0x51e52a
mov ecx, dword [esp + 0x70]
add ecx, 0x9c
mov dword [esp + 0x70], ecx
lea esi, [eax + 1]
lea edx, [esp + 0x74]
push esi
push 0x1c71d0c
push edx
call fcn.005b9aa3
add esp, 0xc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
push 0x1cd7e24
push eax
push ecx
call fcn.005bda79
mov ecx, dword [esp + 0x70]
push eax
mov byte [esp + 0x6c], 0xf
call fcn.005bdbfc
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 0xc
call fcn.005bd7e4
mov eax, esi
cmp eax, edi
jle 0x51e4d9
mov esi, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.005bd559
mov eax, dword [esp + 0x48]
mov ecx, esi
sub eax, ebx
push eax
push ebp
call fcn.00541e80
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xb
call fcn.005bd7e4
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0xa
call fcn.005bd7e4
jmp 0x51e589
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.005bd559
mov eax, dword [esp + 0x48]
mov ecx, esi
sub eax, ebx
dec eax
push eax
push ebp
call fcn.00541e80
mov ecx, dword [ebp + 0x1f4]
push 0
push esi
push ebp
mov edx, dword [ecx]
call dword [edx + 0x2f0]
push 0
push 0
mov ecx, ebp
call fcn.004b7880
push 0
push esi
mov ecx, ebp
call fcn.004b7880
lea eax, [ebp + 0x17c]
push 1
push eax
push 2
lea ecx, [ebp + 0xb8]
call fcn.00519550
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 9
call fcn.005bd7e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.005bd7e4
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x14]
call fcn.005bd7e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
call fcn.005bd7e4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 8