Function at 0x45c750
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 + 0x3c], 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 + 0x1c], eax
mov eax, ecx
shr eax, 0x19
xor edx, edx
and eax, 1
test ecx, 0x800000
mov dword [esp + 0x54], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
je 0x45c7c4
test byte [esp + 0xac], 0x40
mov dword [esp + 0x24], 1
je 0x45c7c8
mov dword [esp + 0x24], edx
mov eax, ebp
call fcn.0042a9d0
mov dword [esp + 0x30], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov eax, ebp
call fcn.0042a9d0
cmp byte [esi + 0x28], 0
mov dword [esp + 0x58], eax
mov dword [esi + 0x20], eax
jbe 0x45c810
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x15], 8
je 0x45c810
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.0042a940
add esp, 0xc
mov eax, dword [esi]
test eax, 0x8000000
je 0x45cb19
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
lea eax, [edi + 2]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
call fcn.0044bc40
add esp, 4
cmp edi, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 1
jl 0x45c93e
jmp 0x45c864
mov edi, dword [esp + 0x18]
xor ebx, ebx
test edi, edi
jle 0x45c923
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ebx, [ebx]
cmp dword [edx + ebx*8], eax
je 0x45c891
add ebx, 1
cmp ebx, ecx
jl 0x45c880
jmp 0x45c923
mov ecx, dword [esp + 0x34]
lea edi, [eax + ecx + 1]
mov eax, dword [esp + 0x1c]
lea edx, [ebx + ebx*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x10]
push edi
push eax
push edx
mov dword [esp + 0x50], edi
call fcn.00449af0
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x50], eax
je 0x45c923
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x45c923
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x24], eax
jg 0x45c8ef
call fcn.0042a7b0
test eax, eax
jne 0x45c923
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xf
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 [edi + 0x6e], cl
cmp ebx, dword [esp + 0x18]
je 0x45c93e
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jle 0x45c860
mov eax, dword [esp + 0x28]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
jg 0x45c95c
mov edi, ebp
call fcn.0042a7b0
test eax, eax
jne 0x45c98c
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x24]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
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 ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x45c99f
mov edi, ebp
call fcn.0042a7b0
test eax, eax
jne 0x45c9d5
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x14]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
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 + 0x28]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], edx
jg 0x45ca0b
mov edi, ebp
call fcn.0042a7b0
test eax, eax
je 0x45ca0b
mov ebx, 1
jmp 0x45ca43
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x4c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov byte [eax], 0x7d
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push eax
push ebp
mov eax, ebx
call fcn.0042ae60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add esp, 8
test eax, eax
mov dword [ecx + 0x1c], 0
jle 0x45cae4
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add edi, 8
add ebx, 4
mov dword [esp + 0x1c], eax
lea esp, [esp]
cmp byte [ebx], 0
je 0x45cad7
mov eax, dword [edi]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + edx*8]
test eax, eax
je 0x45cad7
mov cl, byte [eax + 0x12]
test cl, 4
jne 0x45cad7
cmp dword [esi + 0xc], 0
je 0x45caae
mov edx, dword [eax]
test byte [edx + 2], 1
je 0x45cad7
or cl, 4
mov byte [eax + 0x12], cl
mov ecx, dword [eax + 4]
test ecx, ecx
jl 0x45cad7
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 0x45cad7
mov esi, dword [esp + 0x2c]
call fcn.0045c250
add ebx, 8
add edi, 0xc
sub dword [esp + 0x1c], 1
jne 0x45ca80
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov byte [esi + 0x29], 0x7f
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], ecx
cmp edx, dword [eax + 0x38]
jle 0x45d4ba
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov ebx, eax
jmp 0x45d4be
test eax, 0x1000
je 0x45cbc1
mov al, byte [ebx + 0x15]
test al, al
jne 0x45cb38
add dword [ebx + 0x48], 1
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x54], eax
jmp 0x45cb48
sub al, 1
movzx ecx, al
mov byte [ebx + 0x15], al
mov edx, dword [ebx + ecx*4 + 0x18]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x40]
push 0
push 3
push eax
push ecx
push edi
push edx
or ebx, 0xffffffff
call fcn.0045a0f0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
mov ebx, esi
call fcn.0045c370
mov ebx, eax
mov eax, dword [esi + 0x1c]
add esp, 0x24
push eax
mov dword [esp + 0x38], eax
push ebx
push 0x15
mov eax, ebp
call fcn.0042a940
mov eax, dword [esp + 0x40]
add esp, 0xc
push ebx
push eax
push edi
push 0x33
mov eax, ebp
call fcn.0042a830
mov ecx, dword [esp + 0x20]
push ebx
push 0xffffffffffffffff
push edi
call fcn.00449570
add esp, 0x1c
mov byte [esi + 0x29], 0x85
mov ebx, ecx
jmp 0x45d4be
test eax, 0x2000
je 0x45cdec
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
push 0
push 0x24
push ecx
push edx
push edi
push eax
or ebx, 0xffffffff
mov dword [esp + 0x40], 0x85
mov dword [esp + 0x34], 0
call fcn.0045a0f0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
push 0
push 0x18
push ecx
push edx
mov esi, eax
mov eax, dword [esp + 0x68]
push edi
push eax
or ebx, 0xffffffff
mov dword [esp + 0x48], esi
call fcn.0045a0f0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
add esp, 0x30
test eax, eax
je 0x45cc43
mov ecx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
test esi, esi
je 0x45ccbe
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x24]
push edx
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.0044ac20
movzx edx, byte [edi]
mov ecx, dword [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x34]
add esp, 4
push esi
push eax
movzx eax, byte [esp + edx - 0x31]
push ecx
push eax
mov eax, ebp
call fcn.0042a830
push ebx
mov eax, 1
call fcn.00449910
mov esi, dword [esp + 0x38]
add esp, 0x14
mov edx, ebx
call fcn.0044bc00
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
call fcn.0045c250
mov eax, esi
jmp 0x45cce2
mov ecx, dword [esp + 0x30]
xor edx, edx
test eax, eax
sete dl
push ecx
push edi
mov eax, ebp
lea edx, [edx + edx + 0x3e]
push edx
call fcn.0042a940
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x45cd49
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add dword [ebx + 0x48], 1
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov edi, ebx
mov dword [esp + 0x1c], esi
call fcn.0044acb0
mov ecx, dword [esp + 0x24]
mov al, byte [ecx]
cmp al, 0x4f
je 0x45cd29
cmp al, 0x4d
je 0x45cd29
xor edx, edx
cmp dword [esp + 0x48], edx
setne dl
lea edx, [edx + edx + 0x4d]
mov dword [esp + 0x28], edx
jmp 0x45cd3a
xor eax, eax
cmp dword [esp + 0x48], eax
sete al
lea eax, [eax + eax + 0x4e]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
call fcn.0045c250
mov eax, esi
cmp dword [esp + 0x48], 0
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x4c]
sete cl
add cl, 0x41
cmp dword [esp + 0x18], 0
mov byte [eax + 0x29], cl
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], esi
jne 0x45cd79
cmp dword [esp + 0x20], 0
jne 0x45cd79
mov ecx, 1
jmp 0x45cd7b
xor ecx, ecx
mov edi, dword [esp + 0x28]
cmp edi, 0x85
mov byte [eax + 0x2a], cl
je 0x45d4ba
mov eax, ebx
call fcn.0044bbe0
mov esi, eax
push esi
push edx
push 0x3c
mov eax, ebp
mov dword [esp + 0x60], esi
call fcn.0042a940
mov edx, dword [esp + 0x58]
add esp, 0xc
push esi
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.00449570
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push esi
push eax
push ecx
push edi
mov eax, ebp
call fcn.0042a830
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
je 0x45d4ba
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x6b
jmp 0x45d4be
test eax, 0x30000
je 0x45d29e
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x30], 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], pe_nt_image_headers32
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 + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edx
je 0x45cea2
test dword [esi], 0x1000000
je 0x45cea2
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], ecx
jle 0x45cea2
mov eax, 1
mov dword [esp + 0x44], eax
test dword [esi], 0x100000
je 0x45cee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
push 0x18
push ecx
push edx
push edi
push eax
call fcn.0045a0f0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
add esp, 0x18
mov eax, 1
test dword [esi], 0x200000
je 0x45cf1e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x44]
push 0x24
push edx
push eax
push edi
push ecx
call fcn.0045a0f0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0xbc]
push eax
push ecx
push edx
push esi
push ebx
call fcn.0045c4d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x28]
xor ecx, ecx
add esp, 0x1c
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x48], ecx
jne 0x45cf79
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
jmp 0x45cf81
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x45cf91
test byte [eax + 0x10], 0x28
mov dword [esp + 0x14], edi
je 0x45cf99
mov dword [esp + 0x14], 1
cmp ecx, edi
je 0x45cfa7
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x50], edi
je 0x45cfaf
mov dword [esp + 0x50], 1
cmp eax, edi
jne 0x45cfbb
cmp edx, edi
mov dword [esp + 0x1c], edi
jle 0x45cfc3
mov dword [esp + 0x1c], 1
test eax, eax
mov edi, edx
je 0x45d029
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov edx, edi
mov edi, dword [esp + 0x10]
lea esi, [ecx + edx]
mov dword [esp + 0x44], eax
call fcn.0044acb0
mov eax, dword [esp + 0x34]
push eax
push esi
push 0x49
mov eax, ebp
call fcn.0042a940
mov esi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x45d01c
mov edi, dword [esp + 0x28]
mov bl, byte [edi + esi]
mov eax, dword [esp + 0x44]
call fcn.00447150
cmp al, 0x62
jne 0x45d01c
mov byte [edi + esi], al
mov ebx, dword [esp + 0x10]
lea edi, [esi + 1]
mov esi, dword [esp + 0x2c]
jmp 0x45d05a
cmp dword [esp + 0x44], 0
je 0x45d05a
mov ecx, dword [esp + 0x20]
mov edi, edx
add ecx, edi
push ecx
push 0
push 0xa
mov eax, ebp
call fcn.0042a940
add esp, 0xc
add edi, 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push edi
push eax
push ebx
call fcn.0045c290
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x34]
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x64]
lea edx, [ecx + eax*2]
mov eax, dword [esp + edx*4 + 0x84]
push eax
mov eax, ebp
call fcn.0042a830
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp]
add esp, 0x20
test ecx, ecx
je 0x45d0d6
cmp byte [edx + 0x1e], 0
jne 0x45d0d6
test eax, eax
jge 0x45d0b8
mov eax, dword [ebp + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
mov ecx, dword [ebx + 0x10]
movsx eax, byte [ebx + 1]
push ecx
push eax
push edx
call fcn.0042ac70
mov dword [ebx + 0x10], edi
mov byte [ebx + 1], 0xf2
jmp 0x45d0df
push edi
push 0xfffffffffffffff2
push edx
call fcn.0042ac70
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x45d176
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov ebx, dword [edx + 0xc]
mov ecx, edi
mov edi, dword [esp + 0x10]
lea esi, [eax + ecx]
push esi
mov edx, edi
mov dword [esp + 0x48], ebx
call fcn.004496c0
add esp, 4
mov eax, ebx
call fcn.0044acb0
mov edx, dword [esp + 0x34]
push edx
push esi
push 0x49
mov eax, ebp
call fcn.0042a940
mov eax, dword [edi]
mov ebx, dword [esp + 0x34]
add esp, 0xc
push eax
call fcn.00410420
mov edi, dword [esp + 0x40]
mov esi, eax
add esp, 4
test esi, esi
je 0x45d15b
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x44]
call fcn.00447150
cmp al, 0x62
jne 0x45d15b
mov byte [esi + edi], al
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push esi
add edi, 1
push edi
push ecx
push edx
call fcn.0045c290
mov esi, dword [esp + 0x3c]
add esp, 0x10
cmp dword [esp + 0x38], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
jne 0x45d18e
cmp dword [esp + 0x3c], 0
jne 0x45d18e
xor eax, eax
jmp 0x45d193
mov eax, 1
mov ecx, dword [esp + 0x48]
add ecx, 1
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x5c]
cmp eax, 0x85
je 0x45d1de
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0xfffffffffffffff2
push edi
push eax
mov eax, dword [esp + 0x2c]
mov edi, ebp
call fcn.0042a9a0
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x45d1de
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0xc]
setne dl
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, dword [esp + 0x10]
call fcn.0044bbe0
test dword [esi], 0x300000
mov edi, eax
je 0x45d217
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push edi
push edx
push eax
push 0x1c
mov eax, ebp
call fcn.0042a830
mov ecx, dword [esp + 0x68]
push ecx
push edi
push 0x49
mov eax, ebp
call fcn.0042a940
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov esi, edi
mov edx, ebx
call fcn.0044bc00
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
call fcn.0045c250
mov eax, dword [esp + 0x38]
call fcn.0045c250
cmp dword [esp + 0x24], 0
jne 0x45d284
mov eax, ebx
call fcn.0044bbe0
mov edx, dword [esp + 0x30]
mov edi, eax
push edi
push edx
push 0x47
mov eax, ebp
mov dword [esp + 0x60], edi
call fcn.0042a940
mov eax, dword [esp + 0x58]
add esp, 0xc
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.00449570
mov ecx, dword [esp + 0x58]
add esp, 0xc
push edi
push ecx
push 0x2f
mov eax, ebp
call fcn.0042a940
add esp, 0xc
cmp dword [esp + 0x48], 0
mov eax, dword [esp + 0x30]
sete dl
add dl, 0x41
mov byte [esi + 0x29], dl
mov dword [esi + 0x2c], eax
jmp 0x45d4be
test eax, 0x10000000
je 0x45d486
xor eax, eax
mov esi, 1
add dword [ebx + 0x48], esi
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
mov eax, ebp
mov dword [esp + 0x14], ecx
call fcn.0042a9d0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xac]
mov word [esp + 0x68], si
mov word [esp + 0x6a], si
mov esi, dword [esp + 0x1c]
mov ecx, 0xe
lea edi, [esp + 0x70]
and eax, 8
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
jne 0x45d32b
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x28], eax
push 0
push 0xa
mov eax, ebp
mov dword [esp + 0x5c], ecx
call fcn.0042a940
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
xor esi, esi
push esi
push 7
mov eax, ebp
call fcn.0042a940
mov edi, dword [esp + 0x50]
add esp, 0xc
cmp dword [edi + 0x14], esi
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
jle 0x45d42c
mov dword [esp + 0x30], esi
lea ebx, [ebx]
mov eax, dword [edi + 0x1c]
add eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x4c]
je 0x45d37c
cmp word [eax + 0x10], 0x200
jne 0x45d40f
mov eax, dword [eax]
push 0x70
push 0
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.0045d7c0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x45d40f
cmp word [esp + 0x34], 0
jne 0x45d3f0
mov edx, dword [edi + 0x14]
sub edx, 1
cmp dword [esp + 0x28], edx
jne 0x45d3b0
or edi, 0xffffffff
jmp 0x45d3b4
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
push ebx
xor eax, eax
call fcn.00449760
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x64]
add esp, 0x14
push 0xfffffffffffffff2
push edi
add ecx, 2
push 0x6a
mov edi, ebp
call fcn.0042a9a0
mov edi, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 2
mov eax, ebp
call fcn.0042a940
add esp, 0xc
push esi
call fcn.0045e2a0
add esp, 4
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x28
add eax, 1
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
jl 0x45d360
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x45d43d
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 1
mov eax, ebp
call fcn.0042a940
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x45d46c
mov edx, dword [esp + 0x18]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x38]
mov byte [esi + 0x29], 3
call fcn.0045c250
jmp 0x45d4be
mov eax, dword [esp + 0x48]
mov cl, byte [eax + 0x4b9c34]
mov edx, dword [esp + 0x30]
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edi
movzx eax, byte [eax + 0x4ba394]
push edx
push edi
push eax
mov eax, ebp
call fcn.0042a940
add esp, 0xc
add eax, 1
mov dword [esi + 0x30], eax
mov byte [esi + 0x2a], 1
jmp 0x45d4be
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x45d4e6
add edx, 4
mov esi, dword [esp + 0x4c]
cmp dword [edx], esi
je 0x45d58e
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x45d4d0
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0xb0], eax
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
not edx
and dword [esp + 0xb4], edx
test edi, edi
jle 0x45d55f
lea ebx, [ebx]
test byte [esi + 0x12], 6
jne 0x45d555
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb0]
and ecx, dword [esp + 0xb4]
or eax, ecx
jne 0x45d555
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0xc], 0
mov eax, dword [esi]
je 0x45d540
test byte [eax + 2], 1
je 0x45d555
mov ecx, dword [esp + 0x58]
push 8
push ecx
push eax
push ebx
call fcn.0044b3e0
add esp, 0x10
or byte [esi + 0x12], 4
sub edi, 1
add esi, 0x28
test edi, edi
jg 0x45d510
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0xc], 0
je 0x45d683
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 + 0x24], edx
jg 0x45d5fe
test eax, eax
je 0x45d59f
add eax, eax
jmp 0x45d5a4
mov eax, 1
xor edx, edx
call fcn.004add40
jmp 0x45d4ea
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.00410310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45d62e
mov eax, dword [ebp]
test eax, eax
je 0x45d5e2
cmp esi, dword [eax + 0xf0]
jb 0x45d5e2
cmp esi, dword [eax + 0xf4]
jae 0x45d5e2
movzx ecx, word [eax + 0xe0]
jmp 0x45d5ee
push esi
call dword [0x4d34dc]
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 + 0x24]
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.004498c0
mov ebp, dword [esp + 0x40]
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x45d683
test byte [esi + 0x12], 6
jne 0x45d678
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb0]
and ecx, dword [esp + 0xb4]
or eax, ecx
jne 0x45d678
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.0044b3e0
add esp, 0x10
or byte [esi + 0x12], 4
add edi, 1
add esi, 0x28
cmp edi, dword [ebp + 0x14]
jl 0x45d643
mov esi, dword [esp + 0x54]
test esi, esi
je 0x45d6b3
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x45d6b3
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x45d6cc
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x45d698
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