Function at 0x457780
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48a1d0
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4bd514]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xf4]
push 0x20
push 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], ebx
call fcn.0044ea60
mov edi, dword [ebx + 0x10]
mov esi, eax
cmp dword [ebx + 0xc], edi
jbe 0x4577e2
call fcn.004658e0
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx]
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x10]
jbe 0x4577f5
call fcn.004658e0
mov eax, dword [ebx]
test ebp, ebp
je 0x4577ff
cmp ebp, eax
je 0x457804
call fcn.004658e0
sub edi, dword [esp + 0x18]
sar edi, 2
mov dword [esi + 8], edi
mov edi, dword [ebx + 0x28]
cmp dword [ebx + 0x24], edi
jbe 0x45781b
call fcn.004658e0
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x28]
jbe 0x45782f
call fcn.004658e0
mov eax, dword [ebx + 0x18]
test ebp, ebp
je 0x45783a
cmp ebp, eax
je 0x45783f
call fcn.004658e0
sub edi, dword [esp + 0x18]
sar edi, 2
shr edi, 1
mov dword [esi + 0xc], edi
mov edi, dword [ebx + 0x50]
cmp dword [ebx + 0x4c], edi
jbe 0x457858
call fcn.004658e0
mov ecx, ebx
mov ebp, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x40]
cmp ebp, dword [ecx + 0x50]
jbe 0x45786e
call fcn.004658e0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x40]
test ebx, ebx
je 0x457879
cmp ebx, eax
je 0x457882
call fcn.004658e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
sub edi, ebp
sar edi, 2
mov dword [esi + 0x10], edi
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x14], eax
mov ecx, dword [ecx + 0x38]
mov dword [esi + 0x18], ecx
mov edx, dword [edx]
test dword [edx + 0x20], 0x100000
je 0x4578e5
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x34]
mov ebx, eax
and ebx, edx
cmp ebx, edx
je 0x4578bf
mov edx, dword [edi + 0x38]
mov ebx, eax
and ebx, edx
cmp ebx, edx
jne 0x4578c7
mov edx, dword [edi + 0x3c]
or edx, eax
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x34]
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x4578dd
mov eax, dword [edi + 0x38]
mov edx, ecx
and edx, eax
cmp edx, eax
jne 0x4578e5
mov eax, dword [edi + 0x3c]
or eax, ecx
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0x30]
mov edx, dword [esp + 0x14]
mov byte [esi + 0x1c], al
cmp byte [edi + 0x31], 0
sete cl
mov byte [esi + 0x1d], cl
mov eax, dword [edx]
sub esi, dword [eax + 0x144]
mov dword [esp + 0x40], esi
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x457916
call fcn.004658e0
mov ebx, dword [edi]
mov ebp, esi
mov esi, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
cmp dword [edi + 0xc], esi
jbe 0x45792b
call fcn.004658e0
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
test ebx, ebx
je 0x45793b
cmp ebx, dword [esp + 0x20]
je 0x457940
call fcn.004658e0
cmp ebp, esi
je 0x457a8e
test ebx, ebx
jne 0x4579dd
call fcn.004658e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x457961
call fcn.004658e0
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
xor edx, edx
cmp word [ebp + 2], dx
setne dl
add esi, 0x140
sub ecx, eax
add edx, 2
add edx, edx
mov edi, edx
cmp ecx, edi
jae 0x45799b
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.004645e0
mov eax, dword [esi + 8]
add edi, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], edi
test ebx, ebx
jne 0x4579e4
call fcn.004658e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4579bc
call fcn.004658e0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0xc], 0
movzx ecx, word [ebp]
mov esi, edx
je 0x4579e8
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax]
call fcn.00464e80
movzx eax, ax
jmp 0x4579eb
mov eax, dword [ebx]
jmp 0x457957
mov eax, dword [ebx]
jmp 0x4579b2
movzx eax, cx
mov edi, dword [esp + 0x18]
mov word [edi], ax
test ebx, ebx
jne 0x457a48
call fcn.004658e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x457a07
call fcn.004658e0
cmp word [ebp + 2], 0
je 0x457a5f
test ebx, ebx
jne 0x457a4c
call fcn.004658e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x457a23
call fcn.004658e0
cmp byte [esi + 0xc], 0
movzx ecx, word [ebp + 2]
je 0x457a50
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov edx, dword [eax]
call fcn.00464e80
movzx eax, ax
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
jmp 0x457a65
mov eax, dword [ebx]
jmp 0x4579fd
mov eax, dword [ebx]
jmp 0x457a19
movzx eax, cx
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
jmp 0x457a65
xor ecx, ecx
mov word [edi + 2], cx
test ebx, ebx
jne 0x457a8a
call fcn.004658e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x457a7a
call fcn.004658e0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add ebp, 4
jmp 0x457931
mov eax, dword [ebx]
jmp 0x457a70
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
jbe 0x457a9b
call fcn.004658e0
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x24], eax
jbe 0x457ab7
call fcn.004658e0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x38], eax
mov edi, edi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x457ace
cmp esi, dword [esp + 0x38]
je 0x457ad3
call fcn.004658e0
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x2c]
je 0x4583dd
test esi, esi
jne 0x457e63
call fcn.004658e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x457afa
call fcn.004658e0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov al, byte [edi + 0xc]
mov bx, word [esi]
mov bp, word [esi + 2]
mov ecx, dword [edi + 4]
mov word [esp + 0x30], bx
mov word [esp + 0x32], bp
test al, al
je 0x457b32
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
call fcn.00464e80
mov bx, ax
mov word [esp + 0x30], bx
mov al, byte [edi + 0xc]
mov ecx, dword [edi + 4]
test al, al
je 0x457b51
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x32]
call fcn.00464e80
mov bp, ax
mov word [esp + 0x32], bp
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x457e6a
call fcn.004658e0
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x457b76
call fcn.004658e0
mov ecx, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x24], esi
test ecx, ecx
jne 0x457e71
call fcn.004658e0
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x457b96
call fcn.004658e0
mov eax, dword [esp + 0x24]
mov cx, word [eax + 2]
mov si, word [eax]
mov al, byte [edi + 0xc]
mov word [esp + 0x1a], cx
mov ecx, dword [edi + 4]
mov word [esp + 0x18], si
test al, al
je 0x457bca
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x18]
call fcn.00464e80
mov si, ax
mov word [esp + 0x18], si
mov al, byte [edi + 0xc]
mov ecx, dword [edi + 4]
test al, al
je 0x457be6
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1a]
call fcn.00464e80
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x457e78
call fcn.004658e0
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x457c07
call fcn.004658e0
add dword [esp + 0x24], 4
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
mov word [esp + 0xb8], dx
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0x90], ecx
mov word [esp + 0x80], ax
mov edx, dword [edi]
test dword [edx + 0x20], 0x200000
mov byte [esp + 0xec], 1
je 0x457e7f
mov dx, word [esp + 0x1a]
mov word [esp + 0xd4], ax
mov word [esp + 0xdc], ax
mov word [esp + 0xd0], bx
mov word [esp + 0xd2], bp
mov word [esp + 0xd8], si
mov word [esp + 0xda], dx
lea eax, [esp + 0xd4]
cmp bp, cx
jne 0x457ca9
lea eax, [esp + 0xd2]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0xa0]
push edx
call fcn.0044f5a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 2
call fcn.00403870
mov ebx, 8
mov byte [esp + 0xec], 1
cmp dword [esp + 0xb0], ebx
jb 0x457d01
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ac18
add esp, 4
cmp word [esp + 0xda], 0
lea eax, [esp + 0xdc]
jne 0x457d1a
lea eax, [esp + 0xda]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0xa0]
push edx
call fcn.0044f5a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xf8], 3
call fcn.00403870
mov byte [esp + 0xec], 1
cmp dword [esp + 0xb0], ebx
jb 0x457d6d
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ac18
add esp, 4
cmp dword [esp + 0xc8], 0
jne 0x457de1
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], cx
mov dword [esp + 0xac], 1
mov word [esp + 0x9e], dx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 4
call fcn.00403870
mov byte [esp + 0xec], 1
cmp dword [esp + 0xb0], ebx
jb 0x457de1
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0043ac18
add esp, 4
mov esi, dword [esp + 0x90]
test esi, esi
jne 0x4580ed
xor edx, edx
xor eax, eax
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], dx
mov dword [esp + 0xac], 1
mov word [esp + 0x9e], ax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0xf8], 5
call fcn.00403870
mov byte [esp + 0xec], 1
cmp dword [esp + 0xb0], ebx
jb 0x4580e6
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043ac18
add esp, 4
jmp 0x4580e6
mov eax, dword [esi]
jmp 0x457af0
mov eax, dword [ecx]
jmp 0x457b68
mov eax, dword [ecx]
jmp 0x457b8c
mov eax, dword [eax]
jmp 0x457bf9
cmp bp, cx
je 0x457f25
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0xbc]
push ecx
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc4]
call fcn.00450650
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0xb8]
mov eax, edi
cmp ecx, 8
jae 0x457eca
lea eax, [esp + 0xb8]
mov edx, dword [esp + 0xc8]
lea esi, [eax + edx*2]
test esi, esi
je 0x457eff
mov eax, edi
cmp ecx, 8
jae 0x457ee6
lea eax, [esp + 0xb8]
cmp eax, esi
ja 0x457eff
mov eax, edi
cmp ecx, 8
jae 0x457ef8
lea eax, [esp + 0xb8]
lea ecx, [eax + edx*2]
cmp esi, ecx
jbe 0x457f04
call fcn.004658e0
mov edx, dword [esp + 0x32]
push edx
push esi
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xc4]
call fcn.00450650
jmp 0x457f8e
xor ecx, ecx
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], bx
mov dword [esp + 0xac], 1
mov word [esp + 0x9e], cx
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 6
call fcn.00403870
cmp dword [esp + 0xb0], 8
mov byte [esp + 0xec], 1
jb 0x457f8e
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043ac18
add esp, 4
cmp word [esp + 0x1a], 0
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x94]
mov eax, edi
je 0x458079
cmp edx, 8
jae 0x457fb6
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x90]
lea esi, [eax + ecx*2]
test esi, esi
je 0x457feb
mov eax, edi
cmp edx, 8
jae 0x457fd2
lea eax, [esp + 0x80]
cmp eax, esi
ja 0x457feb
mov eax, edi
cmp edx, 8
jae 0x457fe4
lea eax, [esp + 0x80]
lea ecx, [eax + ecx*2]
cmp esi, ecx
jbe 0x457ff0
call fcn.004658e0
mov edx, dword [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x8c]
call fcn.00450650
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x80]
mov eax, edi
cmp ecx, 8
jae 0x45802b
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x90]
lea esi, [eax + edx*2]
test esi, esi
je 0x458060
mov eax, edi
cmp ecx, 8
jae 0x458047
lea eax, [esp + 0x80]
cmp eax, esi
ja 0x458060
mov eax, edi
cmp ecx, 8
jae 0x458059
lea eax, [esp + 0x80]
lea ecx, [eax + edx*2]
cmp esi, ecx
jbe 0x458065
call fcn.004658e0
mov edx, dword [esp + 0x1a]
push edx
lea eax, [esp + 0x80]
push esi
push eax
lea eax, [esp + 0x68]
jmp 0x4580d4
cmp edx, 8
jae 0x458085
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x90]
lea esi, [eax + ecx*2]
test esi, esi
je 0x4580ba
mov eax, edi
cmp edx, 8
jae 0x4580a1
lea eax, [esp + 0x80]
cmp eax, esi
ja 0x4580ba
mov eax, edi
cmp edx, 8
jae 0x4580b3
lea eax, [esp + 0x80]
lea ecx, [eax + ecx*2]
cmp esi, ecx
jbe 0x4580bf
call fcn.004658e0
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x80]
push esi
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x8c]
call fcn.00450650
mov ebx, 8
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0xcc], ebx
jae 0x458104
lea eax, [esp + 0xb8]
mov edx, dword [esp + 0xc8]
cmp esi, edx
jae 0x458111
mov edx, esi
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x80]
mov ecx, ebp
cmp edi, ebx
jae 0x45812c
lea ecx, [esp + 0x80]
test edx, edx
jbe 0x45814c
mov bx, word [ecx]
cmp bx, word [eax]
jne 0x458366
add ecx, 2
add eax, 2
sub edx, 1
jne 0x458130
mov ebx, 8
mov eax, dword [esp + 0xc8]
cmp esi, eax
jb 0x458390
xor edx, edx
cmp esi, eax
setne dl
mov eax, edx
test eax, eax
jl 0x458390
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x14]
lea edi, [esi + eax]
mov esi, dword [ecx]
mov eax, dword [esi + 0x148]
mov edx, dword [esi + 0x140]
add esi, 0x140
lea edi, [edi + edi + 4]
sub edx, eax
cmp edx, edi
jae 0x4581a6
mov edx, edi
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.004645e0
mov ebp, dword [esi + 8]
add edi, ebp
mov dword [esi + 8], edi
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xb8]
mov eax, edx
cmp ecx, ebx
jae 0x4581c9
lea eax, [esp + 0xb8]
mov edi, dword [esp + 0xc8]
lea esi, [eax + edi*2]
test esi, esi
je 0x4581fc
mov eax, edx
cmp ecx, ebx
jae 0x4581e4
lea eax, [esp + 0xb8]
cmp eax, esi
ja 0x4581fc
mov eax, edx
cmp ecx, ebx
jae 0x4581f5
lea eax, [esp + 0xb8]
lea eax, [eax + edi*2]
cmp esi, eax
jbe 0x45820f
call fcn.004658e0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xb8]
cmp ecx, ebx
jb 0x458384
mov edi, edx
test edx, edx
je 0x458249
mov eax, edx
cmp ecx, ebx
jae 0x45822a
lea eax, [esp + 0xb8]
cmp eax, edi
ja 0x458249
mov eax, edx
cmp ecx, ebx
jae 0x45823b
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x45824e
call fcn.004658e0
sub esi, edi
sar esi, 1
mov eax, esi
test eax, eax
jle 0x458266
add eax, eax
push eax
push edi
push eax
push ebp
call fcn.00465459
add esp, 0x10
mov ecx, dword [esp + 0xc8]
xor eax, eax
mov word [ebp + ecx*2], ax
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x80]
lea esi, [ebp + edx*2 + 2]
cmp dword [esp + 0x94], ebx
jae 0x458296
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x7c]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0040f4b0
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x4582c6
lea eax, [esp + 0x80]
lea ecx, [esp + 0x7c]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.0040f4b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x4582f3
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.00465459
add esp, 0x10
mov eax, dword [esp + 0x90]
xor edx, edx
mov word [esi + eax*2], dx
cmp dword [esp + 0x94], ebx
jb 0x458319
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0043ac18
add esp, 4
xor edx, edx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], dx
mov dword [esp + 0xec], 0xffffffff
cmp dword [esp + 0xcc], ebx
jb 0x457ac0
mov eax, dword [esp + 0xb8]
push eax
call fcn.0043ac18
add esp, 4
jmp 0x457ac0
mov cx, bx
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
je 0x458147
mov ebx, 8
jmp 0x458164
lea edi, [esp + 0xb8]
jmp 0x45821d
cmp edi, ebx
jb 0x45839d
push ebp
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
cmp dword [esp + 0xcc], ebx
jb 0x4583d6
mov edx, dword [esp + 0xb8]
push edx
call fcn.0043ac18
add esp, 4
xor eax, eax
jmp 0x458706
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x4c]
cmp esi, dword [edi + 0x50]
jbe 0x4583ee
call fcn.004658e0
mov ebp, dword [edi + 0x40]
mov ebx, esi
mov esi, dword [edi + 0x50]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], esi
cmp dword [edi + 0x4c], esi
jbe 0x458408
call fcn.004658e0
mov eax, dword [edi + 0x40]
mov dword [esp + 0x44], eax
nop
test ebp, ebp
je 0x45841a
cmp ebp, dword [esp + 0x44]
je 0x45841f
call fcn.004658e0
cmp ebx, esi
je 0x4586f3
mov eax, 7
xor ecx, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], cx
mov dword [esp + 0xec], eax
test ebp, ebp
jne 0x4584f2
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x458468
call fcn.004658e0
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
je 0x458504
test ebp, ebp
jne 0x4584fa
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x45848f
call fcn.004658e0
mov dx, word [ebx]
mov word [esp + 0xd0], dx
test ebp, ebp
jne 0x4584ff
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4584af
call fcn.004658e0
mov ax, word [esi]
xor ecx, ecx
lea edx, [esp + 0xd4]
push edx
mov edx, dword [esp + 0x18]
mov word [esp + 0xd6], ax
mov word [esp + 0xd8], cx
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [edx + 4]
call fcn.00455dd0
mov byte [esp + 0xec], 8
jmp 0x458554
mov eax, dword [ebp]
jmp 0x45845e
mov eax, dword [ebp]
jmp 0x458485
mov eax, dword [ebp]
jmp 0x4584a5
test ebp, ebp
jne 0x4586c4
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x45851d
call fcn.004658e0
test ebp, ebp
jne 0x4586cc
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x458536
call fcn.004658e0
mov edx, dword [esp + 0x14]
push esi
push ebx
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [edx + 4]
call fcn.00455dd0
mov byte [esp + 0xec], 9
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00403870
cmp dword [esp + 0xcc], 8
mov byte [esp + 0xec], 7
jb 0x458587
mov eax, dword [esp + 0xb8]
push eax
call fcn.0043ac18
add esp, 4
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4586d8
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov edx, dword [esi + 0x148]
add esi, 0x140
lea edi, [eax + eax + 2]
mov eax, dword [esi]
sub eax, edx
cmp eax, edi
jae 0x4585c0
sub edx, dword [esi + 4]
mov ecx, esi
add edx, edi
call fcn.004645e0
mov ebp, dword [esi + 8]
lea ecx, [edi + ebp]
mov dword [esi + 8], ecx
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x4585e1
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x98]
push ecx
lea eax, [eax + edx*2]
push eax
lea ecx, [esp + 0x54]
call fcn.0040f4b0
mov eax, dword [esp + 0x9c]
mov esi, 8
cmp dword [esp + 0xb0], esi
jae 0x458619
lea eax, [esp + 0x9c]
lea edx, [esp + 0x98]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.0040f4b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x458649
add eax, eax
push eax
push ecx
push eax
push ebp
call fcn.00465459
add esp, 0x10
mov ecx, dword [esp + 0xac]
xor eax, eax
mov word [ebp + ecx*2], ax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4586d4
call fcn.004658e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x458670
call fcn.004658e0
add ebx, 4
mov dword [esp + 0xec], 0xffffffff
cmp dword [esp + 0xb0], esi
jb 0x458697
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043ac18
add esp, 4
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
jmp 0x458410
mov eax, dword [ebp]
jmp 0x458513
mov eax, dword [ebp]
jmp 0x45852c
mov eax, dword [eax]
jmp 0x458666
lea ecx, [esp + 0x98]
mov dword [esp + 0xec], 0xffffffff
call fcn.00403160
xor eax, eax
jmp 0x458706
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
add eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0046544a
add esp, 0xdc
ret 8