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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x51d06c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0
push edi
mov edi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], edi
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4609aa
nop
mov edx, 0x6e
test edi, edi
je 0x45fc2c
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [esp + 0x24], edx
cmp eax, 0x96
ja case.0x45fc45.21
movzx eax, byte [eax + 0x460c88]
jmp dword [eax*4 + 0x460c10]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x34], edi
jmp 0x45fc20
movsx eax, word [edi + 0x22]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x45fc81
mov eax, dword [eax + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
mov ecx, dword [esp + 0x10]
je case.0x45fc45.158
mov esi, dword [ebp + 8]
push esi
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.004458d0
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov edx, dword [edi + 0x1c]
je 0x45fd5d
push dword [ebp + 8]
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.0045fbd0
movsx edx, word [edi + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x28], ecx
test edx, edx
js 0x45fcf1
mov eax, dword [edi + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
mov al, byte [eax + edx*8 + 0xd]
jmp 0x45fcf3
mov al, 0x44
movsx eax, al
mov dword [esp + 0x14], eax
cmp eax, 0x41
je 0x45fd47
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x10]
cmp ecx, esi
je 0x45fd25
push esi
push ecx
mov edx, 0x4f
mov ecx, edi
call fcn.00445a20
mov eax, dword [esp + 0x1c]
mov ecx, esi
add esp, 8
mov dword [esp + 0x28], ecx
push 0xffffffffffffffff
lea eax, [eax*2 + 0x50ed44]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.00445cd0
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x45fd83
mov edx, dword [esi + 0x38]
test edx, edx
jns 0x45fd82
movsx eax, word [edi + 0x20]
sub eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
dec edx
mov al, byte [edi + 0x26]
push dword [ebp + 8]
mov byte [esp + 0x33], al
movsx eax, word [edi + 0x20]
push eax
push edx
mov edx, dword [edi + 0x2c]
call fcn.0045f870
mov dl, byte [esp + 0x3b]
add esp, 0xc
test dl, dl
je 0x460bf8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x88]
test ecx, ecx
jle 0x460bf8
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
movzx edx, dl
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
push 0
call fcn.0045f6f0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov edx, 0x46
push esi
cmp byte [eax + 4], cl
sete cl
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00445a20
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [edi + 8]
push esi
push 0
call fcn.0045f640
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov edx, dword [ebp + 8]
call fcn.00445b00
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, 0x49
push esi
push 0
call fcn.00445a20
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
lea ecx, [esi + 2]
call fcn.004292d0
lea edx, [esi + 2]
lea edi, [eax - 1]
mov eax, dword [esp + 0x10]
push edi
mov ecx, dword [eax]
call fcn.0042a430
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x4b
push 0
sar eax, 1
push esi
push eax
call fcn.00445cd0
add esp, 0x14
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [edi + 0x20]
mov edx, 0x4c
push eax
call fcn.00445a20
mov eax, dword [edi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x460bf8
mov esi, dword [esi + 0xd4]
mov ecx, esi
movsx edx, word [edi + 0x20]
call fcn.0042a880
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.00446770
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.0045fbd0
mov esi, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
je 0x45ffb6
mov ecx, dword [esp + 0x10]
mov edx, 0x4f
push esi
push eax
call fcn.00445a20
add esp, 8
mov dword [esp + 0x28], esi
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.00468e50
mov ecx, dword [esp + 0x10]
mov edx, 0x55
movsx eax, al
push eax
push esi
call fcn.00445a20
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x14], 0x80
cmp edx, 0x2d
sete al
add eax, 0x34
mov edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], ecx
mov al, byte [ecx]
cmp al, 0xa4
jne 0x460017
mov al, byte [ecx + 0x26]
cmp al, 0xa5
jne 0x460020
lea eax, [ecx + 0x14]
jmp 0x460027
cmp al, 0x7f
jne 0x460059
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x460059
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [ebp + 8]
mov edx, edi
call fcn.0045b040
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov edx, ecx
push eax
mov ecx, esi
call fcn.00460de0
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00460de0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x28]
or ecx, 0x20
push ecx
push dword [ebp + 8]
push eax
push esi
push dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, esi
push dword [edi + 0x10]
call fcn.0045ad80
add esp, 0x18
jmp 0x460271
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00460de0
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00460de0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.004458d0
add esp, 0xc
jmp 0x46026d
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0x8f
jne 0x46011c
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
push 1
call fcn.0045f6f0
add esp, 8
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp al, 0x8d
jne 0x460147
mov esi, dword [ebp + 8]
mov edx, dword [edx + 8]
push esi
push 1
call fcn.0045f640
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov byte [esp + 0x70], 0x8f
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.00460de0
mov edx, dword [edi + 0xc]
add esp, 4
mov ecx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00460de0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x61
push dword [ebp + 8]
push esi
push eax
call fcn.004458d0
add esp, 0xc
jmp 0x46026d
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00460de0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00445a20
add esp, 8
jmp 0x460271
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00460de0
mov esi, eax
add esp, 4
mov eax, dword [edi + 0x10]
xor ecx, ecx
cmp byte [edi + 0x26], 0x2d
sete cl
mov eax, dword [eax + 8]
mov dl, byte [eax + 4]
xor eax, eax
test dl, dl
sete al
xor ecx, eax
xor eax, eax
test dl, dl
mov edx, 0x58
push ecx
mov ecx, dword [esp + 0x14]
setne al
push eax
push dword [ebp + 8]
push esi
call fcn.00445e30
add esp, 0x10
jmp 0x46026d
push dword [ebp + 8]
mov edx, 0x46
push 1
call fcn.00445a20
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00460de0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004459b0
add esp, 4
mov edx, 0x46
mov ecx, edi
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.00445a20
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.004462d0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46028d
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x46028d
movzx eax, al
mov dword [esi + eax*4 + 0x90], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x460bf8
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x460bf8
movzx eax, al
mov dword [esi + eax*4 + 0x90], ecx
inc byte [esi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4602f7
push dword [edi + 8]
push 0x512204
push esi
call fcn.004294b0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x6000
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov al, byte [eax + 0x46]
mov byte [esp + 0x1c], al
jne 0x46035c
mov eax, dword [edi + 0x30]
test eax, eax
je 0x46035c
mov eax, dword [eax + 0x2c]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x17], 0
je 0x4603b3
mov edx, edi
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], fcn.0045cf40
mov dword [esp + 0x44], 0x45cee0
mov dword [esp + 0x54], 0
call fcn.00458220
cmp byte [esp + 0x50], 0
je 0x4603b3
push 0xffffffffffffffff
mov edx, edi
mov ecx, esi
call fcn.00460d20
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
je 0x4604a4
mov dword [esp + 0x18], 0
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, ecx
push 0
push dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x30], eax
call fcn.0046e7c0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x460708
cmp dword [eax + 0x14], 0
jne 0x460708
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4604ba
mov ecx, dword [esp + 0x10]
call fcn.00445f40
mov edi, dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
push edi
mov edx, dword [eax + 4]
call fcn.00460f00
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 1
jle 0x460480
mov ecx, dword [esp + 0x18]
add ecx, 0x1c
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
nop dword [eax]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push edi
call fcn.00445a20
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edi
mov edx, dword [edx]
call fcn.00460f00
add dword [esp + 0x20], 0x18
add esp, 0xc
sub dword [esp + 0x28], 1
jne 0x460450
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
call fcn.00445f90
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4603c8
mov eax, dword [ecx]
jmp 0x4603ca
test eax, 0x400
je 0x4604e9
mov eax, dword [esp + 0x18]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.0045fbd0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x46058d
mov edx, dword [esp + 0x18]
add edx, 4
xor edi, edi
mov dword [esp + 0x14], edx
cmp eax, 0x20
jge 0x460547
mov edx, dword [edx]
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], fcn.0045cf40
mov dword [esp + 0x44], 0x45cee0
mov dword [esp + 0x54], 0
test edx, edx
je 0x460544
lea ecx, [esp + 0x3c]
call fcn.00458220
cmp byte [esp + 0x50], 0
mov eax, dword [esp + 0x1c]
je 0x460547
bts edi, eax
mov ecx, dword [esp + 0x20]
test byte [ecx + 4], 0x20
je 0x46056d
cmp dword [esp + 0x28], 0
jne 0x46056d
mov edx, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [edx]
call fcn.0045aaf0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x24]
add edx, 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
cmp eax, ecx
jl 0x460508
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x46060d
cmp dword [esp + 0x14], 0
je 0x4605b5
mov eax, dword [esi + 0x2c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
jmp 0x4605c8
mov edx, ecx
mov ecx, esi
call fcn.004625b0
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x4605f8
mov ecx, dword [edx + 4]
mov cl, byte [ecx]
mov byte [esp + 0x2f], cl
cmp cl, 0x9e
mov ecx, dword [esp + 0x1c]
je 0x4605ec
cmp byte [esp + 0x2f], 0xa0
jne 0x4605f8
mov edi, dword [edx + 4]
and al, 0xc0
mov byte [edi + 0x26], al
mov edi, dword [esp + 0x34]
push 3
push 0
push ecx
mov ecx, esi
call fcn.00460f60
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x460615
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
cmp eax, 2
jl 0x460640
test byte [edi + 4], 0x80
je 0x460640
push dword [edx + 0x1c]
mov edi, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x24]
push eax
call fcn.00490b80
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x460664
mov edi, dword [esp + 0x30]
test eax, eax
jle 0x460660
push dword [edx + 4]
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00490b80
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x460664
mov eax, dword [esp + 0x20]
test byte [eax + 4], 0x20
je 0x460697
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x460675
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x10]
mov edx, 0x52
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00445cd0
mov eax, dword [esp + 0x34]
add esp, 0x14
jmp 0x46069b
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0x38]
mov ecx, edi
push 0xfffffffffffffff8
push eax
push dword [ebp + 8]
neg edx
push dword [esp + 0x28]
sbb edx, edx
push dword [esp + 0x24]
add edx, 0x3f
call fcn.00445cd0
mov eax, dword [esp + 0x38]
add esp, 0x14
movzx edx, al
mov ecx, edi
call fcn.004462b0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x460bf8
cmp dword [esp + 0x14], 0
jne 0x460bf8
mov edx, dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00462610
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [esp + 0x38]
push 0x512220
push esi
call fcn.004294b0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp edx, 0x7f
jne 0x46076a
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x46076a
push 1
push eax
push 0x512188
push esi
call fcn.004294b0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push 0
push 0
mov edx, edi
mov ecx, esi
call fcn.0045df90
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x4607b0
push 0
mov edx, ecx
mov ecx, esi
push 0
call fcn.0045df90
mov ecx, dword [edi + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4607d3
call fcn.0045ae40
cmp edx, eax
je 0x4607d3
push eax
push edx
push 0x5120ec
push esi
call fcn.004294b0
mov ecx, dword [edi + 0xc]
add esp, 0x10
movsx eax, word [edi + 0x20]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
call fcn.00445f40
mov ecx, dword [esp + 0x10]
mov esi, eax
call fcn.00445f40
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push 0
mov edi, eax
call fcn.00445a20
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push edi
push esi
call fcn.0045e6c0
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov edx, 0x46
push 1
call fcn.00445a20
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.00445f90
mov esi, dword [ebp + 8]
mov edx, 0x53
push 0
push esi
call fcn.00445a20
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov edx, edi
call fcn.00445f90
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push 0
push 0
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.00461160
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2c]
mov edx, 0x96
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], eax
push esi
movsx ecx, word [eax + 0x2a]
movsx eax, word [edi + 0x20]
inc ecx
imul ecx, dword [edi + 0x1c]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00445a20
movzx eax, word [edi + 0x20]
add esp, 8
test ax, ax
js 0x460bf8
movsx ecx, ax
mov eax, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x460bf8
mov ecx, dword [esp + 0x10]
mov edx, 0x54
push esi
call fcn.004459b0
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push 0x511d08
push esi
call fcn.004294b0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov edx, 0x15
call fcn.004459b0
mov edx, dword [edi + 0xc]
add esp, 4
mov ecx, dword [esp + 0x18]
mov esi, eax
push dword [ebp + 8]
call fcn.0045fbd0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
call fcn.004462d0
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00446270
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x78], 0
jne 0x4609c0
push 0x512238
push esi
call fcn.004294b0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 1]
cmp al, 2
jne 0x4609dc
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edi + 1]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 8]
push 0
cmp al, 4
jne 0x460a10
push edx
push 0
push 4
push 0
mov edx, 0x45
call fcn.00445cd0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
push 0
push edx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.0046d7c0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call fcn.00445f40
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x460ae9
movups xmm0, xmmword [eax]
lea edx, [esp + 0x70]
mov ecx, esi
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x90], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x20]
push eax
call fcn.0045fa90
mov cl, byte [esp + 0x74]
add esp, 4
and dword [esp + 0x74], 0xffffefff
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x96], cl
push 0x34
push 0
push eax
mov byte [esp + 0x7c], 0xa4
call fcn.004b1910
lea eax, [esp + 0x7c]
mov byte [esp + 0x48], 0x35
add esp, 0xc
mov dword [esp + 0x48], eax
lea edx, [esp + 0x3c]
jmp 0x460aeb
xor edx, edx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x460ba6
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x28], 0
cmovne eax, ecx
cmove edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
call fcn.00445f40
push 0x10
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.004616d0
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
mov edx, dword [edx + 0x18]
call fcn.00460f00
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0x10]
call fcn.00445a90
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x460b86
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
add eax, 0x30
sub dword [esp + 0x30], 1
mov dword [esp + 0x14], eax
jne 0x460b10
mov eax, dword [esp + 0x1c]
jmp 0x460baa
mov ecx, dword [esp + 0x10]
push edi
test al, 1
je 0x460bc6
lea edx, [eax + eax*2]
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.00460f00
add esp, 4
jmp 0x460bd5
push 0
mov edx, 0x49
call fcn.00445a20
add esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x460bf8
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
mov ecx, dword [esp + 0xbc]
mov eax, dword [ebp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.004ad990
mov esp, ebp
pop ebp
ret