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

Disassembly:
push 0xffffffffffffffff
push 0x699bae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
mov eax, dword [esp + 0x1fc]
push ebx
push ebp
push eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x204]
push ecx
lea edx, [esp + 0xf4]
push 0x6a9d8c
push edx
call fcn.005b8b8d
lea eax, [esp + 0xfc]
push 0x6a81b8
push eax
call fcn.0040b8c0
mov ebp, eax
xor ebx, ebx
add esp, 0x18
xor eax, eax
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x45faf6
push esi
push edi
mov ecx, 0x10
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, 0xa
mov esi, 0x6ab828
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
push ebp
push 0x28
lea ecx, [esp + 0x7c]
push 1
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
movsb byte es:[edi], byte [esi]
call fcn.0040b670
push ebp
push 1
lea edx, [esp + 0x38]
push 4
push edx
call fcn.0040b670
push ebp
push 1
lea eax, [esp + 0x54]
push 8
push eax
call fcn.0040b670
push ebp
push 0xc
lea ecx, [esp + 0xec]
push 1
push ecx
call fcn.0040b670
add esp, 0x40
lea esi, [esp + 0x34]
lea eax, [esp + 0x74]
lea esp, [esp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45f9f4
test cl, cl
je 0x45f9f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45f9f4
add eax, 2
add esi, 2
test cl, cl
jne 0x45f9d0
xor eax, eax
jmp 0x45f9f9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x45fa0f
push ebx
push ebx
push ebp
call fcn.0040b5d0
add esp, 0xc
xor eax, eax
jmp 0x45faf4
mov eax, dword [0x704038]
cmp eax, ebx
je 0x460181
mov esi, dword [eax + 0x28]
sub esi, 0x40
lea eax, [esi + 0xf]
shr eax, 4
shl eax, 4
push eax
mov dword [esp + 0x2c], eax
call fcn.005b951f
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push ebp
push esi
mov ecx, edx
and ecx, 3
push 1
push ebx
mov dword [esp + 0x38], ebx
rep stosb byte es:[edi], al
call fcn.0040b670
push 0
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.005ab600
add esp, 0x20
test al, al
jne 0x45fa89
push ebp
call fcn.0040b690
add esp, 4
test ebx, ebx
je 0x45fa85
push ebx
call fcn.005b89dd
add esp, 4
xor eax, eax
jmp 0x45faf4
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
call fcn.005ab550
mov ecx, dword [esp + 0x28]
add esp, 8
cmp eax, ecx
jne 0x460181
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov dword [eax + 0x1c], edx
mov esi, eax
movzx ecx, word [esi + 0x1c]
lea edx, [ecx*4 + 4]
push edx
lea ebp, [ebx + 4]
call fcn.005b951f
add esp, 4
test eax, eax
mov dword [esi + 0x18], eax
je 0x46016e
xor edi, edi
cmp word [esi + 0x1c], di
mov dword [esp + 0x18], edi
ja 0x45fb13
push ebx
call fcn.005b89dd
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040b690
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1f0]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f4
ret 8
mov esi, dword [esp + 0x10]
push 0x19c
call fcn.005b951f
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x200], 0
je 0x45fb5b
push 0x45ea40
push 0x45ea20
push 3
lea esi, [eax + 4]
push 0x88
push esi
mov dword [eax], 3
call fcn.005b9dbb
mov eax, esi
mov esi, dword [esp + 0x10]
jmp 0x45fb5d
xor eax, eax
mov ecx, dword [esi + 0x18]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + edi*4], 0
mov dword [esp + 0x200], 0xffffffff
je 0x46016e
xor ebx, ebx
lea ecx, [ecx]
mov esi, dword [ebp]
add ebp, 4
test esi, esi
mov dword [esp + 0x14], esi
je 0x45fbc9
push esi
call fcn.005b951f
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x18]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + ebx + 4], eax
mov eax, dword [edx + 0x18]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + ebx + 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
jmp 0x45fbcd
mov edx, dword [esp + 0x10]
mov esi, dword [ebp]
add ebp, 4
test esi, esi
mov dword [esp + 0x14], esi
je 0x45fc20
push esi
call fcn.005b951f
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x18]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + ebx + 0x84], eax
mov edx, dword [edx + 0x18]
mov eax, dword [edx + edi*4]
mov edi, dword [eax + ebx + 0x84]
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
mov eax, edx
mov edx, dword [esp + 0x14]
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add ebp, eax
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
mov al, byte [ebp]
mov byte [ecx + ebx + 2], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cx, word [ebp + 1]
mov word [eax + ebx + 8], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0xa], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 1]
mov word [eax + ebx + 0xc], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0xe], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x10], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x12], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x13], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x14], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x15], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x16], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x17], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x18], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x19], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
inc ebp
mov byte [ecx + ebx + 0x1a], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
inc ebp
mov byte [eax + ebx + 0x1b], cl
mov eax, dword [edx + 0x18]
inc ebp
mov ecx, dword [eax + edi*4]
mov al, byte [ebp]
mov byte [ecx + ebx + 0x1c], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x1d], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x1e], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 2]
mov byte [eax + ebx + 0x20], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x21], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x22], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x23], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x24], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x25], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x26], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x27], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x28], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x29], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x2a], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
inc ebp
mov byte [ecx + ebx + 0x2b], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
inc ebp
mov byte [eax + ebx + 0x2c], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp]
mov byte [ecx + ebx + 0x2d], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x2e], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x2f], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cx, word [ebp + 1]
mov word [eax + ebx + 0x30], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x32], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cl, byte [ebp + 2]
mov byte [eax + ebx + 0x34], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x36], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 2]
mov byte [eax + ebx + 0x38], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x39], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x3a], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x3c], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x3e], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x40], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x41], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
inc ebp
mov byte [ecx + ebx + 0x42], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
inc ebp
mov byte [eax + ebx + 0x43], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
mov al, byte [ebp + 1]
inc ebp
mov byte [ecx + ebx + 0x44], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cx, word [ebp + 1]
mov word [eax + ebx + 0x46], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x48], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x49], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 1]
mov byte [ecx + ebx + 0x4a], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 1]
mov byte [eax + ebx + 0x4b], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x4c], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cl, byte [ebp + 2]
mov byte [eax + ebx + 0x4e], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x50], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x52], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x54], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cl, byte [ebp + 2]
mov byte [eax + ebx + 0x56], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 1]
mov word [ecx + ebx + 0x58], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
inc ebp
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x5a], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x5c], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 2]
add ebp, 2
mov word [eax + ebx + 0x5e], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
mov ax, word [ebp + 2]
add ebp, 2
mov word [ecx + ebx + 0x60], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x62], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x64], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 1]
mov word [eax + ebx + 0x66], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x68], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 1]
mov word [eax + ebx + 0x6a], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov al, byte [ebp + 2]
mov byte [ecx + ebx + 0x6c], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 1]
mov word [eax + ebx + 0x6e], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
inc ebp
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x70], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x72], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x74], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x76], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov ax, word [ebp + 2]
mov word [ecx + ebx + 0x78], ax
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
add ebp, 2
mov cx, word [ebp + 2]
mov word [eax + ebx + 0x7a], cx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
add ebp, 2
mov al, byte [ebp + 2]
add ebp, 2
mov byte [ecx + ebx + 0x7c], al
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp + 1]
inc ebp
mov byte [eax + ebx + 0x7d], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
mov al, byte [ebp + 1]
inc ebp
mov byte [ecx + ebx + 0x7e], al
inc ebp
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + edi*4]
mov cl, byte [ebp]
mov byte [eax + ebx + 0x7f], cl
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + edi*4]
mov ax, word [ebp + 1]
inc ebp
mov word [ecx + ebx + 0x80], ax
mov ecx, dword [edx + 0x18]
mov ax, word [ebp + 2]
mov edx, dword [ecx + edi*4]
add ebp, 2
mov word [edx + ebx + 0x82], ax
add ebx, 0x88
add ebp, 2
cmp ebx, 0x198
jl 0x45fb80
mov ecx, dword [esp + 0x10]
movzx edx, word [ecx + 0x1c]
mov ebx, dword [esp + 0x24]
inc edi
cmp edi, edx
mov dword [esp + 0x18], edi
jl 0x45fb0f
jmp 0x45fadc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040b690
push ebx
call fcn.005b89dd
add esp, 8
xor eax, eax
jmp 0x45faf4