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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov esi, dword [ebp + 0x10]
mov dword [esp], 0x154
call fcn.00a5b598
mov dword [ebp - 0x6c], eax
mov dword [esp + 8], 0x154
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00a5b648
mov eax, dword [esi]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x6c]
cmp eax, 0x28
mov dword [ebx + 0x148], ecx
mov edi, dword [ebp - 0x6c]
mov ebx, 0x28
cmovge ebx, eax
mov dword [edi + 0x138], 0
mov dword [edi + 0x140], 0xffffffff
mov dword [esp], ebx
call fcn.00a5b598
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x34], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00a5b5c0
mov esi, dword [ebp - 0x6c]
mov edi, dword [esi + 0x34]
mov ecx, 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], ecx
mov dword [edi], ebx
mov dword [esi + 0x1c], 0
add ebx, 0x30
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x30], 1
mov dword [esp], ebx
call fcn.00a5b598
mov dword [esi + 0x134], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00a5b648
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x134]
mov eax, dword [edx]
mov dword [esp + 4], edx
add edi, 0x30
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00a5b5c0
mov edx, dword [esi + 0x134]
mov ecx, dword [edx + 0x34]
mov eax, dword [edx + 0x38]
mov edi, dword [0xc7d850]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], eax
mov ecx, dword [0xc7d858]
mov eax, dword [0xc7d854]
mov dword [edx + 4], 0
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x10], edi
mov dword [esi + 0xa4], edi
mov dword [ebp - 0x14], eax
mov dword [esi + 0xa8], eax
mov dword [ebp - 0x18], ecx
mov dword [esi + 0xac], ecx
mov esi, dword [0xc7d85c]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], esi
mov dword [edi + 0xb0], esi
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xc0], esi
mov dword [edi + 0xb8], eax
mov ecx, dword [0xc7d830]
mov esi, dword [0xc7d834]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x20], ecx
mov dword [edi + 0xd0], ecx
mov dword [edi + 0xb4], eax
mov dword [ebp - 0x24], esi
mov eax, dword [0xc7d838]
mov dword [edi + 0xd4], esi
mov dword [ebp - 0x28], eax
mov dword [edi + 0xd8], eax
mov ecx, dword [ebp - 0x6c]
mov edi, dword [0xc7d83c]
mov dword [ecx + 0xe4], ebx
mov dword [ecx + 0xe8], edx
mov dword [ecx + 0xc4], 0
mov dword [ecx + 0xc8], 1
mov dword [ecx + 0xe0], 0
mov dword [ebp - 0x2c], edi
mov dword [ecx + 0xdc], edi
mov dword [esp], 0x64
call fcn.00a5b598
mov edx, dword [ebp - 0x6c]
mov esi, dword [edx + 0x134]
mov dword [edx + 0x138], eax
mov dword [esp + 8], 0x58
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00a5b5c0
mov edx, dword [ebp - 0x6c]
cld
xor eax, eax
mov edi, dword [edx + 0x138]
mov ecx, 3
add edi, 0x58
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x138]
add edx, 0xec
mov dword [ecx + 0x40], 0
mov word [ecx + 0x3e], 0x18
mov dword [ebp - 0x4c], edx
mov dword [esp], edx
mov dword [esp + 8], 0x48
mov dword [esp + 4], 0
call fcn.00a5b648
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x10]
mov dword [edx + 0xec], edi
mov ecx, dword [0xc7d7d0]
mov edi, dword [0xc7d7d4]
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0x10c], 1
mov dword [edx + 0x110], 0
mov dword [edx + 0xf0], ebx
mov ebx, dword [0xc7d7d8]
cld
mov esi, dword [ebp - 0x18]
mov dword [edx + 0xf4], esi
mov esi, dword [0xc7d7dc]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x108], esi
mov dword [edx + 0xfc], ecx
mov dword [edx + 0xf8], eax
mov dword [edx + 0x100], edi
mov dword [edx + 0x104], ebx
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x118], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x11c], ecx
mov edi, dword [ebp - 0x28]
mov dword [edx + 0x120], edi
mov ebx, dword [ebp - 0x2c]
mov dword [edx + 0x124], ebx
mov ebx, dword [edx + 0x138]
mov edx, dword [ebx + 0x38]
movsx eax, word [ebx + 0x3e]
imul edx, dword [ebx + 0x34]
lea esi, [eax + 0xe]
add eax, 7
cmovs eax, esi
mov esi, dword [ebp - 0x6c]
sar eax, 3
imul edx, eax
xor eax, eax
mov ecx, edx
sar ecx, 0x1f
mov edi, ecx
xor edi, edx
sub edi, ecx
mov ecx, 0xd
mov dword [esi + 0x114], edi
mov dword [ebx + 0x44], edi
mov dword [esi + 0x130], ebx
mov ebx, esi
mov dword [esi + 0x12c], 0x58
mov dword [esi + 0x128], 0
add ebx, 0x6c
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, 0x34
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], ebx
cmp eax, 0x35
cmovb edi, eax
mov dword [esp + 8], edi
call fcn.00a5b5c0
mov esi, dword [ebp - 0x6c]
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x6c]
mov word [esi + 0x7a], 0x18
imul eax, dword [esi + 0x70]
mov dword [esi + 0x6c], 0x28
mov dword [esi + 0x7c], 0
cdq
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp + 8]
xor eax, edx
sub eax, edx
mov edx, ecx
imul edi, eax, 3
add edx, 0xa4
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x80], edi
mov dword [esp + 0x10], 0xe55dc0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005f3f62
mov edi, dword [ebp - 0x6c]
test eax, eax
mov ecx, eax
mov dword [edi + 0xa0], eax
je 0x5f4b01
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x5f4a8f
mov ebx, dword [ebp - 0x6c]
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov esi, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov edi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x40], edx
mov edx, dword [ebx + 0x88]
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
mov esi, dword [ebx + 0x8c]
mov ecx, dword [ebx + 0x90]
mov edi, dword [ebx + 0x94]
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x9c]
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x13c], 0
mov dword [esp], 0xc7d3c8
call fcn.00a5b650
mov eax, dword [0xb41200]
test eax, eax
mov ebx, 0xb41200
je 0x5f4951
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
mov word [edx + 0x3e], ax
mov eax, dword [ebx + 4]
mov dword [edx + 0x40], eax
mov edx, dword [ebx + 8]
mov esi, dword [edx]
mov dword [ecx + 0xfc], esi
mov edi, dword [edx + 4]
mov dword [ecx + 0x100], edi
mov eax, dword [edx + 8]
mov dword [ecx + 0x104], eax
mov esi, dword [edx + 0xc]
mov edx, dword [ecx + 0xa0]
mov dword [ecx + 0x108], esi
mov edi, dword [edx + 0xc]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi]
mov dword [esp + 4], eax
mov esi, dword [edx + 0xc]
mov dword [esp], esi
call dword [ecx + 0x2c]
sub esp, 8
test eax, eax
je 0x5f4a43
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x5f48e9
mov dword [esp], 0xa
call fcn.00a5b5e8
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x13c]
test eax, eax
jne 0x5f4a7a
mov edx, dword [ebp - 0x6c]
mov ebx, dword [0xc7d7d8]
mov esi, dword [0xc7d7d0]
mov ecx, dword [edx + 0x138]
mov edi, dword [0xc7d7d4]
mov eax, dword [0xc7d7dc]
mov word [ecx + 0x3e], 0x18
mov dword [ecx + 0x40], 0
mov dword [edx + 0x104], ebx
mov ebx, dword [edx]
mov dword [edx + 0xfc], esi
mov dword [edx + 0x100], edi
mov dword [edx + 0x108], eax
mov dword [edx + 0x144], ebx
mov dword [ebp - 0x34], 0
cld
mov edi, 0xc7d3f5
mov esi, dword [ebp + 8]
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
je 0x5f49fa
mov edi, 0xc7d401
mov esi, dword [ebp + 8]
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
je 0x5f49fa
mov ecx, 0xb
mov edi, 0xc7d40d
mov esi, dword [ebp + 8]
repe cmpsb byte [esi], byte es:[edi]
jne 0x5f4ae7
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x6c]
mov edi, 0xc7d418
mov dword [edx + 0x14c], eax
cld
mov ecx, 0xb
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [ebp - 0x6c]
sete al
test edx, edx
movzx eax, al
mov dword [edi + 0x150], eax
je 0x5f4a6c
lea esi, [ebx + 7]
mov dword [edi], esi
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp - 0x6c]
lea ecx, [ebx + 4]
or dword [edi + 0x13c], esi
add ebx, 0x10
mov dword [esp + 4], ecx
mov dword [esp], 0xc7d423
call fcn.00a5b650
mov eax, dword [ebx]
jmp 0x5f494d
test eax, eax
je 0x5f4a38
lea edi, [ebx + 9]
mov ebx, dword [ebp - 0x6c]
mov dword [ebx], edi
jmp 0x5f4a38
mov dword [esp + 4], eax
mov dword [esp], 0xc7d42c
call fcn.00a5b650
jmp 0x5f496e
mov edi, dword [ebp - 0x6c]
mov esi, dword [ecx + 0xc]
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x138]
mov ebx, edi
neg eax
mov dword [edi + 0x74], eax
mov edi, dword [ebp - 0x4c]
mov dword [edx + 0x38], eax
mov edx, dword [esi]
mov dword [esp + 4], edi
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 8
test eax, eax
je 0x5f485c
mov dword [esp], 0xc7d45c
call fcn.00a5b5f0
mov esi, dword [ebx + 0x74]
neg esi
mov ecx, dword [ebx + 0x138]
mov dword [ebx + 0x74], esi
mov dword [ecx + 0x38], esi
jmp 0x5f485c
mov edi, 0xc7d48c
mov esi, dword [ebp + 8]
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
jne 0x5f4a01
jmp 0x5f49fa
mov dword [esp], 0xc7d498
call fcn.00a5b5f0
xor eax, eax
jmp 0x5f4a3b