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

Disassembly:
push 0xffffffffffffffff
push 0x6ad9be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
mov eax, dword [esp + 0x200]
push ebx
push ebp
push eax
mov ebx, ecx
mov ecx, dword [esp + 0x208]
push ecx
lea edx, [esp + 0xf8]
push 0x6be1d4
push edx
call fcn.005cd489
lea eax, [esp + 0x100]
push 0x6bc484
push eax
call fcn.0040d2e0
mov ebp, eax
xor eax, eax
add esp, 0x18
cmp ebp, eax
mov dword [esp + 0x18], ebp
je 0x4625d6
push esi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, 0xa
mov esi, 0x6bfe18
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push ebp
push 0x28
lea ecx, [esp + 0x40]
push 1
push ecx
movsb byte es:[edi], byte [esi]
call fcn.0040d020
push ebp
push 1
lea edx, [esp + 0x40]
push 4
push edx
call fcn.0040d020
push ebp
push 1
lea eax, [esp + 0x58]
push 8
push eax
call fcn.0040d020
push ebp
push 0xc
lea ecx, [esp + 0xf0]
push 1
push ecx
call fcn.0040d020
add esp, 0x40
lea edi, [esp + 0x78]
lea esi, [esp + 0x38]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x46224f
test al, al
je 0x46224b
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x46224f
add esi, 2
add edi, 2
test al, al
jne 0x462227
xor eax, eax
jmp 0x462254
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46226c
push 0
push 0
push ebp
call fcn.0040cf80
add esp, 0xc
xor eax, eax
jmp 0x4625d4
mov edx, dword [0x719e80]
mov ebp, dword [edx + 0x28]
sub ebp, 0x40
lea eax, [ebp + 0xf]
shr eax, 4
shl eax, 4
push eax
mov dword [esp + 0x28], eax
call fcn.005cde20
mov ecx, dword [esp + 0x28]
mov esi, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
push edi
push ebp
push 1
push esi
mov dword [esp + 0x40], esi
call fcn.0040d020
push 0
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.005c1320
add esp, 0x20
test al, al
jne 0x4622e6
push edi
call fcn.005a26c0
add esp, 4
test esi, esi
je 0x4622df
push esi
call fcn.005cdc59
add esp, 4
xor eax, eax
jmp 0x4625d4
mov ecx, dword [esp + 0x30]
push ecx
push esi
call fcn.005c1270
mov ecx, dword [esp + 0x30]
add esp, 8
cmp eax, ecx
jne 0x4622df
mov edx, dword [esi]
movzx edi, dx
mov eax, edi
imul eax, eax, 0x94
add eax, 4
push eax
mov dword [ebx + 0x24], edx
lea ebp, [esi + 4]
call fcn.005cde20
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x204], 0
je 0x462353
push 0x460c00
push 0x460be0
push edi
mov dword [eax], edi
add eax, 4
push 0x94
push eax
mov dword [esp + 0x30], eax
call fcn.005ce6bb
mov eax, dword [esp + 0x1c]
jmp 0x462355
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [0x864df8], eax
mov cx, word [ebx + 0x24]
xor edi, edi
mov word [0x864dfc], cx
cmp word [ebx + 0x24], di
mov dword [esp + 0x204], 0xffffffff
mov dword [esp + 0x1c], edi
jbe 0x4625bc
mov dword [esp + 0x18], edi
jmp 0x462390
mov eax, dword [ebp]
mov edx, dword [ebx + 0x20]
mov dword [edi + edx + 8], eax
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 0x20]
add ebp, 4
mov dword [edi + ecx + 0x88], edx
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 0x20]
add ebp, 4
mov dword [edi + eax + 0x8c], ecx
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 0x20]
add ebp, 4
lea ecx, [edi + 0x14]
mov dword [edi + edx + 0xc], eax
add ebp, 4
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 0x10]
mov dword [esi + edx - 4], ecx
mov ecx, dword [ebx + 0x20]
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov al, byte [ebp]
mov byte [edx + ecx + 0x70], al
mov ecx, dword [ebp + 1]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], ecx
mov ecx, dword [ebx + 0x20]
inc ebp
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov al, byte [ebp]
mov byte [edx + ecx + 0x71], al
mov ecx, dword [ebp + 1]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], ecx
mov ecx, dword [ebx + 0x20]
inc ebp
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov al, byte [ebp]
mov byte [edx + ecx + 0x72], al
mov ecx, dword [ebp + 1]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 8], ecx
mov ecx, dword [ebx + 0x20]
inc ebp
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov al, byte [ebp]
mov byte [edx + ecx + 0x73], al
mov ecx, dword [ebp + 1]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 0xc], ecx
mov ecx, dword [ebx + 0x20]
inc ebp
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov al, byte [ebp]
mov byte [edx + ecx + 0x74], al
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebp + 1]
mov eax, dword [esp + 0x14]
inc ebp
mov dword [esi + edx + 0x10], ecx
mov ecx, dword [ebx + 0x20]
add ebp, 4
lea edx, [edi + eax]
mov dword [esp + 0x14], ebx
mov bl, byte [ebp]
mov byte [edx + ecx + 0x75], bl
mov ebx, dword [esp + 0x14]
mov edx, esi
add eax, 6
add edx, 0x18
inc ebp
cmp eax, 0x18
mov dword [esp + 0x10], edx
jl 0x4623d3
mov esi, dword [ebp]
add ebp, 4
test esi, esi
mov dword [esp + 0x10], esi
je 0x462519
push 0x33
call fcn.005cde20
mov edx, dword [ebx + 0x20]
mov dword [edi + edx], eax
mov edx, dword [ebx + 0x20]
mov edi, dword [edi + edx]
xor eax, eax
mov ecx, 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + edx]
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add esp, 4
add ebp, ecx
mov ecx, dword [ebx + 0x20]
mov edx, dword [eax + ecx]
mov byte [edx + 0x32], 0
mov edi, eax
mov esi, dword [ebp]
add ebp, 4
test esi, esi
mov dword [esp + 0x10], esi
je 0x462556
push esi
call fcn.005cde20
mov ecx, dword [ebx + 0x20]
mov dword [edi + ecx + 4], eax
mov edx, dword [ebx + 0x20]
mov edi, dword [edi + edx + 4]
mov ecx, esi
mov eax, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add ebp, eax
mov esi, dword [ebp]
add ebp, 4
test esi, esi
mov dword [esp + 0x10], esi
je 0x462599
push esi
call fcn.005cde20
mov ecx, dword [ebx + 0x20]
mov dword [edi + ecx + 0x90], eax
mov edx, dword [ebx + 0x20]
mov edi, dword [edi + edx + 0x90]
mov ecx, esi
mov eax, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add ebp, eax
mov eax, dword [esp + 0x1c]
movzx ecx, word [ebx + 0x24]
inc eax
add edi, 0x94
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
jl 0x462390
mov esi, dword [esp + 0x2c]
push esi
call fcn.005cdc59
mov edx, dword [esp + 0x24]
push edx
call fcn.005a26c0
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1f4]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f8
ret 8