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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [ebx + 0xc]
push esi
mov esi, ecx
mov ecx, dword [eax + 0x1c]
shl esi, 6
lea esi, [esi + eax + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], ecx
movzx ecx, byte [esi + 0x28]
push edi
lea edi, [ecx*8]
sub edi, ecx
mov ecx, dword [esi]
lea eax, [eax + edi*8 + 8]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x24], eax
mov eax, ecx
shr eax, 0x19
xor edx, edx
and eax, 1
test ecx, 0x800000
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], eax
je 0x45b910
test byte [esp + 0xac], 0x40
mov dword [esp + 0x20], 1
je 0x45b914
mov dword [esp + 0x20], edx
push ebp
call fcn.00429f50
add esp, 4
push ebp
mov dword [esp + 0x38], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
call fcn.00429f50
add esp, 4
cmp byte [esi + 0x28], 0
mov dword [esp + 0x58], eax
mov dword [esi + 0x20], eax
jbe 0x45b960
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x15], 8
je 0x45b960
add dword [ebx + 0x48], 1
mov eax, dword [ebx + 0x48]
push eax
mov dword [esi + 0xc], eax
push 0
push 7
mov eax, ebp
call fcn.00429ec0
add esp, 0xc
mov eax, dword [esi]
test eax, 0x8000000
je 0x45bc8d
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea eax, [edi + 2]
push eax
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
call fcn.0044af30
add esp, 8
cmp edi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 1
jl 0x45ba95
mov edi, edi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
jle 0x45ba78
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
cmp dword [edi + eax*8], ecx
je 0x45b9e8
add eax, 1
cmp eax, edx
jl 0x45b9d3
mov dword [esp + 0x18], eax
jmp 0x45ba78
mov edx, dword [esp + 0x1c]
lea edi, [ecx + edx + 1]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + edx*8]
mov eax, dword [edx + 0xc]
push edi
push eax
push ebx
mov dword [esp + 0x48], edi
call fcn.00448fb0
mov ecx, eax
add esp, 0xc
cmp ecx, edi
mov dword [esp + 0x48], ecx
je 0x45ba78
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x45ba78
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
jg 0x45ba4c
call fcn.00429d30
test eax, eax
jne 0x45ba78
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x18], ecx
je 0x45ba95
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x45b9b0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x20], eax
jg 0x45babb
mov edi, ebp
call fcn.00429d30
test eax, eax
jne 0x45baeb
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x20], eax
jg 0x45bb06
mov edi, ebp
call fcn.00429d30
test eax, eax
jne 0x45bb3c
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
add ecx, 1
add edx, 0xffffffff
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebp + 0x10], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
jg 0x45bb7a
mov edi, ebp
call fcn.00429d30
test eax, eax
je 0x45bb76
mov eax, 1
jmp 0x45bbb4
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x7d
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebp
call fcn.0042a3a0
mov eax, dword [esp + 0x38]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jle 0x45bc5e
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
add edi, 8
add ecx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
cmp byte [edx], 0
je 0x45bc4f
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
test eax, eax
je 0x45bc4f
mov cl, byte [eax + 0x12]
test cl, 4
jne 0x45bc4f
cmp dword [esi + 0xc], 0
je 0x45bc26
mov edx, dword [eax]
test byte [edx + 2], 1
je 0x45bc4f
or cl, 4
mov byte [eax + 0x12], cl
mov ecx, dword [eax + 4]
test ecx, ecx
jl 0x45bc4f
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
add byte [edx + ecx*8 + 0x13], 0xff
lea eax, [edx + ecx*8]
jne 0x45bc4f
mov esi, dword [esp + 0x30]
call fcn.0045b3f0
add dword [esp + 0x2c], 8
add edi, 0xc
sub dword [esp + 0x24], 1
jne 0x45bbf4
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov byte [esi + 0x29], 0x7f
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], ecx
cmp edx, dword [ebx + 0x38]
jle 0x45c5dd
mov ecx, dword [esp + 0x1c]
mov eax, edx
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
jmp 0x45c5dd
test eax, 0x1000
je 0x45bd35
mov al, byte [ebx + 0x15]
test al, al
jne 0x45bcac
add dword [ebx + 0x48], 1
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x54], edx
jmp 0x45bcbc
sub al, 1
mov byte [ebx + 0x15], al
movzx eax, al
mov ecx, dword [ebx + eax*4 + 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x44]
push 0
push 3
push edx
push eax
push 0xffffffffffffffff
push edi
push ecx
call fcn.004592c0
mov edx, dword [esp + 0x70]
add esp, 0x1c
push edx
push esi
push eax
push ebx
call fcn.0045b510
mov ecx, dword [esi + 0x1c]
push ecx
push eax
mov dword [esp + 0x3c], eax
push 0x15
mov eax, ebp
mov dword [esp + 0x44], ecx
call fcn.00429ec0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
push eax
push ecx
push edi
push 0x33
mov eax, ebp
call fcn.00429db0
mov edx, dword [esp + 0x34]
push edx
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.00448a30
add esp, 0x1c
mov byte [esi + 0x29], 0x85
jmp 0x45c5dd
test eax, 0x2000
je 0x45bf53
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x44]
push 0
push 0x24
push eax
push ecx
push 0xffffffffffffffff
push edi
push edx
mov dword [esp + 0x34], 0x85
mov dword [esp + 0x40], 0
call fcn.004592c0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x60]
add esp, 0x1c
push 0
push 0x18
mov esi, eax
mov eax, dword [esp + 0xbc]
push eax
push ecx
push 0xffffffffffffffff
push edi
push edx
mov dword [esp + 0x44], esi
call fcn.004592c0
mov ecx, dword [esp + 0x54]
add esp, 0x1c
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x45bdb6
mov edx, esi
mov esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edx
test esi, esi
je 0x45be2b
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xc]
mov esi, ebx
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x2c
mov byte [esp + 0x1a], 0x2b
mov byte [esp + 0x1b], 0x2d
call fcn.00449f00
movzx ecx, byte [edi]
mov edx, dword [esp + 0x38]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x4c]
push esi
push edx
movzx edx, byte [esp + ecx - 0x31]
push eax
push edx
mov eax, ebp
call fcn.00429db0
push ebx
mov eax, 1
call fcn.00448dd0
mov esi, dword [esp + 0x34]
add esp, 0x14
mov edx, ebx
call fcn.0044aef0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
call fcn.0045b3f0
jmp 0x45be4b
mov eax, dword [esp + 0x34]
xor edx, edx
test ecx, ecx
sete dl
push eax
push edi
mov eax, ebp
lea edx, [edx + edx + 0x3e]
push edx
call fcn.00429ec0
mov esi, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x45beb0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add dword [ebx + 0x48], 1
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
mov edi, ebx
mov dword [esp + 0x24], esi
call fcn.00449f90
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
cmp al, 0x4f
je 0x45be92
cmp al, 0x4d
je 0x45be92
xor edx, edx
cmp dword [esp + 0x38], edx
setne dl
lea edx, [edx + edx + 0x4d]
mov dword [esp + 0x18], edx
jmp 0x45bea3
xor eax, eax
cmp dword [esp + 0x38], eax
sete al
lea eax, [eax + eax + 0x4e]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
call fcn.0045b3f0
cmp dword [esp + 0x38], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x4c]
sete cl
add cl, 0x41
cmp dword [esp + 0x28], 0
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
jne 0x45bee0
cmp dword [esp + 0x1c], 0
jne 0x45bee0
mov eax, 1
jmp 0x45bee2
xor eax, eax
cmp dword [esp + 0x18], 0x85
mov byte [esi + 0x2a], al
je 0x45c5dd
mov eax, ebx
call fcn.0044aed0
mov esi, eax
push esi
mov edi, edx
push edi
push 0x3c
mov eax, ebp
mov dword [esp + 0x60], esi
call fcn.00429ec0
add esp, 0xc
push esi
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.00448a30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add esp, 0xc
push esi
push eax
push ecx
push edx
mov eax, ebp
call fcn.00429db0
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
je 0x45c5dd
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x6b
jmp 0x45c5dd
test eax, 0x30000
je 0x45c3b9
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov edx, dword [edx + ecx*4]
xor eax, eax
test byte [esp + 0xac], 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], 0x3e
mov dword [esp + 0x78], 0x2e
mov dword [esp + 0x7c], 0x2b
mov dword [esp + 0x80], 0x2d
mov dword [esp + 0x84], 0x2c
mov dword [esp + 0x5c], 0x85
mov dword [esp + 0x60], 0x51
mov dword [esp + 0x64], 0x48
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edx
je 0x45c009
test dword [esi], 0x1000000
je 0x45c009
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], ecx
jle 0x45c009
mov eax, 1
mov dword [esp + 0x3c], eax
test dword [esi], 0x100000
je 0x45c044
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x1c]
push 0x18
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push edi
push ecx
call fcn.004592c0
mov dword [esp + 0x5c], eax
add esp, 0x1c
mov eax, 1
test dword [esi], 0x200000
je 0x45c07f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x1c]
push 0x24
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push edi
push eax
call fcn.004592c0
mov dword [esp + 0x38], eax
add esp, 0x1c
mov eax, 1
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xb8]
push edx
push eax
push ecx
push esi
push ebx
call fcn.0045b640
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 0x28]
xor ecx, ecx
add esp, 0x1c
cmp byte [edi + edx], cl
mov dword [esp + 0x18], eax
sete cl
cmp dword [esp + 0x38], ecx
jne 0x45c0da
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], ecx
jmp 0x45c0e2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x45c0f4
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x14], 0
je 0x45c0fc
mov dword [esp + 0x14], 1
test edx, edx
je 0x45c10e
test byte [edx + 0x10], 0x28
mov dword [esp + 0x48], 0
je 0x45c116
mov dword [esp + 0x48], 1
test ecx, ecx
jne 0x45c122
test edi, edi
mov dword [esp + 0x24], ecx
jle 0x45c12a
mov dword [esp + 0x24], 1
test ecx, ecx
je 0x45c18d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov edx, edi
lea esi, [ecx + edx]
mov edi, ebx
mov dword [esp + 0x3c], eax
call fcn.00449f90
mov eax, dword [esp + 0x28]
push eax
push esi
push 0x49
mov eax, ebp
call fcn.00429ec0
mov esi, dword [esp + 0x5c]
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x45c184
mov edi, dword [esp + 0x2c]
movzx ecx, byte [edi + esi]
mov eax, dword [esp + 0x3c]
push ecx
call fcn.00446670
add esp, 4
cmp al, 0x62
jne 0x45c184
mov byte [edi + esi], al
lea edi, [esi + 1]
mov esi, dword [esp + 0x30]
jmp 0x45c1b8
cmp dword [esp + 0x3c], 0
je 0x45c1b8
add eax, edi
push eax
push 0
push 0xa
mov eax, ebp
call fcn.00429ec0
add esp, 0xc
add edi, 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push edx
push edi
push eax
push ebx
call fcn.0045b430
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
push 0xfffffffffffffff2
push edi
push ecx
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x54]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + eax*4 + 0x84]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x48]
mov edi, ebp
call fcn.00429f20
mov eax, dword [esp + 0x70]
add esp, 0x20
cmp dword [esp + 0x40], 0
je 0x45c295
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov edi, dword [eax + 0xc]
lea esi, [ecx + edx]
push esi
mov edx, ebx
mov dword [esp + 0x40], edi
call fcn.00448b80
mov eax, edi
add esp, 4
mov edi, ebx
call fcn.00449f90
mov eax, dword [esp + 0x28]
push eax
push esi
push 0x49
mov eax, ebp
call fcn.00429ec0
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
add esp, 0xc
push ecx
push edx
call fcn.0040f7d0
mov edi, dword [esp + 0x58]
mov esi, eax
add esp, 8
test esi, esi
je 0x45c27c
movzx eax, byte [esi + edi]
push eax
mov eax, dword [esp + 0x40]
call fcn.00446670
add esp, 4
cmp al, 0x62
jne 0x45c27c
mov byte [esi + edi], al
mov ecx, dword [esp + 0x18]
push esi
add edi, 1
push edi
push ecx
push ebx
call fcn.0045b430
mov esi, dword [esp + 0x40]
add esp, 0x10
mov eax, edi
cmp dword [esp + 0x40], 0
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x30], edx
jne 0x45c2ad
cmp dword [esp + 0x50], 0
jne 0x45c2ad
xor ecx, ecx
jmp 0x45c2b2
mov ecx, 1
mov edx, dword [esp + 0x38]
add edx, 1
imul edx, ecx
mov ecx, dword [esp + edx*4 + 0x5c]
cmp ecx, 0x85
je 0x45c2ff
push 0xfffffffffffffff2
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
mov edi, ebp
call fcn.00429f20
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
je 0x45c2ff
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x48], ecx
mov edi, dword [ebp + 0xc]
setne dl
lea ecx, [edi + edi*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, ebx
call fcn.0044aed0
test dword [esi], 0x300000
mov edi, eax
je 0x45c336
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
push edi
push edx
push eax
push 0x1c
mov eax, ebp
call fcn.00429db0
mov ecx, dword [esp + 0x68]
push ecx
push edi
push 0x49
mov eax, ebp
call fcn.00429ec0
add esp, 0x1c
mov esi, edi
mov edx, ebx
call fcn.0044aef0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
call fcn.0045b3f0
mov eax, dword [esp + 0x40]
call fcn.0045b3f0
cmp dword [esp + 0x20], 0
jne 0x45c39f
mov eax, ebx
call fcn.0044aed0
mov edx, dword [esp + 0x34]
mov edi, eax
push edi
push edx
push 0x47
mov eax, ebp
mov dword [esp + 0x60], edi
call fcn.00429ec0
mov eax, dword [esp + 0x58]
add esp, 0xc
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.00448a30
mov ecx, dword [esp + 0x58]
add esp, 0xc
push edi
push ecx
push 0x2f
mov eax, ebp
call fcn.00429ec0
add esp, 0xc
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
sete dl
add dl, 0x41
mov byte [esi + 0x29], dl
mov dword [esi + 0x2c], eax
jmp 0x45c5dd
test eax, 0x10000000
je 0x45c5ab
mov esi, 1
add dword [ebx + 0x48], esi
mov ecx, dword [ebx + 0x48]
xor eax, eax
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], eax
call fcn.00429f50
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb0]
mov word [esp + 0x6c], si
mov word [esp + 0x6e], si
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, 0xe
lea edi, [esp + 0x70]
and eax, 8
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], eax
jne 0x45c448
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x24], eax
push 0
push 0xa
mov eax, ebp
mov dword [esp + 0x54], ecx
call fcn.00429ec0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
xor esi, esi
push esi
push 7
mov eax, ebp
call fcn.00429ec0
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [edi + 0x14], esi
mov ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], esi
jle 0x45c551
mov dword [esp + 0x34], esi
jmp 0x45c480
mov eax, dword [edi + 0x1c]
add eax, dword [esp + 0x34]
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x4c]
je 0x45c49c
cmp word [eax + 0x10], 0x200
jne 0x45c534
mov eax, dword [eax]
push 0x70
push 0
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.0045c8e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x45c534
cmp word [esp + 0x28], 0
jne 0x45c515
mov edx, dword [edi + 0x14]
sub edx, 1
cmp dword [esp + 0x2c], edx
jne 0x45c4d4
or edi, 0xffffffff
jmp 0x45c4d8
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
push ebx
xor eax, eax
call fcn.00448c20
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc]
add esp, 0x14
push 0xfffffffffffffff2
push edi
push edx
add ecx, 2
push 0x6a
mov edi, ebp
call fcn.00429f20
mov edi, dword [esp + 0x4c]
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 2
mov eax, ebp
call fcn.00429ec0
add esp, 0xc
push esi
call fcn.0045d3b0
add esp, 4
mov eax, dword [esp + 0x2c]
add dword [esp + 0x34], 0x28
add eax, 1
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
jl 0x45c480
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x45c562
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
push eax
push 0
push 1
mov eax, ebp
call fcn.00429ec0
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x45c591
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov byte [esi + 0x29], 3
mov dword [esi + 0x2c], edx
call fcn.0045b3f0
jmp 0x45c5dd
mov eax, dword [esp + 0x38]
mov cl, byte [eax + 0x4c600c]
mov edx, dword [esp + 0x34]
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edi
movzx eax, byte [eax + 0x4c676c]
push edx
push edi
push eax
mov eax, ebp
call fcn.00429ec0
add esp, 0xc
add eax, 1
mov dword [esi + 0x30], eax
mov byte [esi + 0x2a], 1
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x45c605
mov esi, dword [esp + 0x4c]
add edx, 4
cmp dword [edx], esi
je 0x45c6ae
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x45c5f3
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0xb0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
not edx
and dword [esp + 0xb4], edx
test edi, edi
jle 0x45c67f
lea esp, [esp]
test byte [esi + 0x12], 6
jne 0x45c675
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb0]
and ecx, dword [esp + 0xb4]
or eax, ecx
jne 0x45c675
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
mov eax, dword [esi]
je 0x45c660
test byte [eax + 2], 1
je 0x45c675
mov ecx, dword [esp + 0x58]
push 8
push ecx
push eax
push ebx
call fcn.0044a6c0
add esp, 0x10
or byte [esi + 0x12], 4
sub edi, 1
add esi, 0x28
test edi, edi
jg 0x45c630
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
je 0x45c7a3
mov ecx, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [esp + 0x20], edx
jg 0x45c71e
test eax, eax
je 0x45c6bf
add eax, eax
jmp 0x45c6c4
mov eax, 1
xor edx, edx
call fcn.004b8f40
jmp 0x45c609
mov eax, 0x33
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.0040f6c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45c74e
mov eax, dword [ebp]
test eax, eax
je 0x45c702
cmp esi, dword [eax + 0xf0]
jb 0x45c702
cmp esi, dword [eax + 0xf4]
jae 0x45c702
movzx ecx, word [eax + 0xe0]
jmp 0x45c70e
push esi
call dword [0x4df74c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], esi
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [edi + edi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov edx, ebx
call fcn.00448d80
mov ebp, dword [esp + 0x44]
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x45c7a3
test byte [esi + 0x12], 6
jne 0x45c798
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb0]
and ecx, dword [esp + 0xb4]
or eax, ecx
jne 0x45c798
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.0044a6c0
add esp, 0x10
or byte [esi + 0x12], 4
add edi, 1
add esi, 0x28
cmp edi, dword [ebp + 0x14]
jl 0x45c763
mov esi, dword [esp + 0x54]
test esi, esi
je 0x45c7d3
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x45c7d3
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x45c7ec
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x45c7b8
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
add byte [ebx + 0x15], 1
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x98
ret