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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
cmp edi, ecx
je 0x45c2f1
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 0x65]
cmp edx, ecx
je 0x45b825
movzx eax, byte [edx]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x45b83e.21
movzx eax, byte [eax + 0x45c680]
jmp dword [eax*4 + 0x45c618]
movsx ecx, word [edx + 0x22]
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
mov esi, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [esi + ecx*8]
jne 0x45b86a
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x28], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x45b893
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2f
mov esi, edi
call fcn.004452a0
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, dword [edx + 0x1c]
cmp eax, ecx
jge 0x45b8b7
mov esi, dword [ebx + 0x5c]
cmp esi, ecx
jle 0x45b8b4
movsx eax, word [edx + 0x20]
add eax, esi
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x60]
mov ecx, edx
movzx edx, byte [ecx + 0x26]
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [ecx + 0x2c]
push eax
push ecx
mov edi, ebx
call fcn.0045b610
add esp, 0x14
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ecx
mov eax, edx
mov ecx, ebx
call fcn.0045b050
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push esi
push ecx
push edi
call fcn.0045aff0
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 8]
push 0
push eax
push 0
mov ecx, esi
push ecx
push 0
push 0x61
mov esi, edi
call fcn.00445410
mov eax, dword [esp + 0x40]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, esi
push edx
push 0
push 0x1a
mov esi, edi
call fcn.004453b0
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
mov edi, dword [eax + 8]
add edi, 2
mov eax, edi
call fcn.00429250
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi]
lea ebx, [eax - 1]
push ebx
call fcn.0042a3d0
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0xffffffffffffffff
push eax
mov eax, ebx
cdq
push 0
sub eax, edx
push ecx
sar eax, 1
push eax
push 0x1c
call fcn.00445410
mov eax, dword [esp + 0x40]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 0x20]
mov edx, esi
push edx
push ecx
push 0x1d
mov esi, edi
call fcn.004453b0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
add esp, 0xc
cmp byte [eax + 1], 0
je 0x45bb73
mov eax, dword [ebx + 0x1d4]
mov ecx, edx
movsx edx, word [ecx + 0x20]
mov ebx, dword [eax + edx*4 - 4]
mov eax, dword [edi + 4]
mov edx, dword [edi]
test eax, eax
je 0x45ba22
cmp byte [edx + 0x41], 0
jne 0x45ba22
mov edi, dword [edi + 0x20]
lea ecx, [edi + edi*4 - 5]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004459d0
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x45ba10
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xfe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov eax, 0xfffffffe
call fcn.004459d0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x28], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0xc]
push esi
push eax
push ebx
call fcn.0045b7e0
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0xc]
push esi
push ecx
push ebx
call fcn.0045b7e0
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, esi
je 0x45ba8f
mov edx, esi
push edx
push eax
push 0x20
mov esi, edi
call fcn.004453b0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
xor edi, edi
call fcn.004633b0
mov esi, dword [esp + 0x2c]
movsx edx, al
mov eax, dword [ebp + 0x10]
push edx
push eax
push 0x28
call fcn.004453b0
lea ecx, [edi + 1]
mov edi, dword [esp + 0x34]
add esp, 0xc
mov eax, ebx
call fcn.0045b280
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
mov edi, edx
mov eax, dword [edi + 0xc]
push ecx
mov esi, ebx
call fcn.0045c770
lea edx, [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
push edx
call fcn.0045c770
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0x20
push ecx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
push edx
push eax
mov eax, dword [edi + 0x10]
push ebx
call fcn.004580e0
add esp, 0x18
mov esi, dword [esp + 0x14]
test esi, esi
je 0x45bb42
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x45bb42
xor eax, eax
lea ecx, [ebx + 0x74]
cmp dword [ecx + 0xc], esi
je 0x45c5fe
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x45bb26
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
inc byte [ebx + 0x13]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45bb73
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x45bb73
xor eax, eax
lea ecx, [ebx + 0x74]
cmp dword [ecx + 0xc], esi
je 0x45c607
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x45bb57
movzx edx, dl
mov dword [ebx + edx*4 + 0x18], esi
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
mov edi, edx
mov eax, dword [edi + 0xc]
push ecx
mov esi, ebx
call fcn.0045c770
lea edx, [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
push edx
call fcn.0045c770
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0xa0
push ecx
push eax
xor eax, eax
cmp dword [esp + 0x28], 0x49
sete al
add eax, 0x4e
jmp 0x45bafc
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov esi, ebx
call fcn.0045c770
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [ecx + 0x10]
call fcn.0045c770
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
push edx
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
mov esi, edi
call fcn.004452a0
add esp, 0x10
jmp 0x45bb11
mov eax, dword [edx + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x45bc29
push esi
push 1
mov ecx, ebx
call fcn.0045b050
add esp, 8
mov dword [esp + 0x28], esi
jmp 0x45bb11
cmp cl, 0x85
jne 0x45bc46
mov edx, dword [eax + 8]
push esi
push 1
push edi
call fcn.0045aff0
add esp, 0xc
mov dword [esp + 0x28], esi
jmp 0x45bb11
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
mov esi, ebx
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], 0
call fcn.0045c770
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
push ecx
call fcn.0045c770
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
push ecx
push edx
push eax
push 0x5a
mov esi, edi
call fcn.004452a0
mov esi, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x28], esi
jmp 0x45bb11
lea eax, [esp + 0x14]
mov ecx, edx
push eax
mov eax, dword [ecx + 0xc]
mov esi, ebx
call fcn.0045c770
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push eax
push edx
mov esi, edi
mov dword [esp + 0x34], ecx
call fcn.004453b0
add esp, 0xc
jmp 0x45bb11
mov eax, esi
push eax
push 1
push 0x17
mov esi, edi
call fcn.004453b0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x20]
add esp, 0xc
push ecx
mov esi, ebx
call fcn.0045c770
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
mov esi, edi
call fcn.00445350
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0x17
mov dword [esp + 0x20], eax
call fcn.004453b0
mov eax, dword [esp + 0x20]
add esp, 0x14
mov edx, edi
call fcn.004459b0
jmp 0x45bb11
mov eax, dword [edx + 0x28]
cmp eax, ecx
jne 0x45bd53
mov edx, dword [edx + 8]
push edx
push 0x508408
push ebx
call fcn.00429330
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [edx + 0x22]
mov edx, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x24]
mov al, byte [eax + 0x3e]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], ecx
je 0x45bd8d
mov dword [esp + 0x14], ecx
jmp 0x45bd9a
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], edx
cmp edx, ecx
je 0x45bd9a
mov ecx, dword [edx]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 8]
mov eax, esi
mov dword [esp + 0x18], ecx
call fcn.00429250
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push 0
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push esi
push edx
call fcn.00468c90
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45c0c1
mov edx, eax
cmp dword [edx + 0xc], 0
je 0x45c0c1
movzx eax, word [edx + 2]
test eax, 0x200
je 0x45bea7
mov eax, dword [esp + 0x2c]
call fcn.004456a0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
push ebx
call fcn.0045c910
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 1
jle 0x45be8b
dec eax
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x20], eax
jmp 0x45be30
mov ecx, dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
push ecx
push edi
push 0x4d
call fcn.004453b0
add esp, 0xc
mov ecx, 1
mov eax, ebx
call fcn.0045b280
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
mov edi, 1
add dword [ebx + 0x64], edi
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esi + ecx]
push edx
push ebx
call fcn.0045c910
add esp, 0xc
mov eax, ebx
call fcn.0045b380
add esi, 0x18
sub dword [esp + 0x20], edi
mov dword [esp + 0xc], esi
jne 0x45be30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004456f0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x400
je 0x45bed0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
push ebx
call fcn.0045b7e0
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
xor esi, esi
lea edi, [esi + 1]
test eax, eax
jle 0x45bf49
mov dword [esp + 0x10], esi
cmp esi, 0x20
jge 0x45bf09
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx]
push edx
call fcn.00459b30
add esp, 4
test eax, eax
mov eax, dword [esp + 0x18]
je 0x45bf09
or dword [esp + 0xc], edi
mov ecx, dword [esp + 0x1c]
test byte [ecx + 2], 0x20
je 0x45bf39
cmp dword [esp + 0x20], 0
jne 0x45bf39
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [eax + ecx]
push ebx
call fcn.00457e70
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add esp, 4
add dword [esp + 0x10], 0x18
inc esi
rol edi, 1
cmp esi, eax
jl 0x45bee1
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x45bfc3
cmp dword [esp + 0xc], 0
je 0x45bf68
mov ecx, dword [ebx + 0x48]
lea esi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x10], esi
mov dword [ebx + 0x48], ecx
jmp 0x45bf79
mov esi, eax
mov ecx, ebx
call fcn.0045dd30
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test byte [edx + 2], 0xc0
je 0x45bf9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov cl, byte [eax]
cmp cl, 0x9a
je 0x45bf94
cmp cl, 0x9c
jne 0x45bf9d
mov dl, byte [edx + 2]
and dl, 0xc0
mov byte [eax + 0x26], dl
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc dword [ebx + 0x64]
push eax
push ebx
mov cl, 3
mov edx, esi
call fcn.0045caf0
add esp, 8
mov eax, ebx
call fcn.0045b380
mov eax, dword [esp + 0x18]
jmp 0x45bfcf
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
cmp eax, 2
jl 0x45bffa
mov ecx, dword [ebp + 0xc]
test byte [ecx + 4], 0x80
je 0x45bffa
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x18]
push ecx
call fcn.0048aee0
add esp, 0xc
mov edi, eax
jmp 0x45c01e
test eax, eax
jle 0x45c01a
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx]
push ecx
call fcn.0048aee0
add esp, 0xc
mov edi, eax
jmp 0x45c01e
mov edi, dword [esp + 0x1c]
test byte [edi + 2], 0x20
je 0x45c051
cmp dword [esp + 0x20], 0
jne 0x45c036
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push 0xfffffffffffffffc
push ecx
push 0
push 0
push 0
push 0x22
call fcn.00445410
add esp, 0x18
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
push 0xfffffffffffffffb
push edi
push edx
push eax
push ecx
push 0x23
call fcn.00445410
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x45c085
mov esi, dword [esi + 0x20]
lea edx, [esi + esi*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x45bb73
cmp dword [esp + 0xc], 0
jne 0x45bb73
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.0045b280
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x38]
jle 0x45bb73
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x508424
push ebx
call fcn.00429330
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push ecx
push edx
push ebx
call fcn.0045a470
add esp, 0x10
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.004456a0
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.004456a0
mov dword [esp + 0x20], eax
mov eax, esi
push eax
push 0
push 0x1a
mov esi, edi
call fcn.004453b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ecx
push edx
push ebx
call fcn.0045a990
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push ebx
push 1
push 0x17
call fcn.004453b0
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
mov ecx, edi
call fcn.004456f0
add esp, 4
push 0
push ebx
push 0x25
call fcn.004453b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
mov ecx, edi
call fcn.004456f0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
lea edx, [esp + 0x14]
push edx
mov esi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
call fcn.0045c770
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x10]
call fcn.0045c770
add esp, 4
mov ecx, ebx
mov edx, eax
call fcn.0045dce0
mov esi, eax
mov dword [esp + 0x24], esi
call fcn.0045dce0
mov ecx, dword [esp + 0x10]
push 0x20
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push 0x53
push ebx
call fcn.004580e0
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x18]
mov esi, dword [esp + 0x30]
mov edx, ebx
mov dword [esp + 0x24], eax
call fcn.0045dd00
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
mov esi, ebx
call fcn.0045c770
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
push 0x20
push esi
push eax
mov eax, dword [esp + 0x18]
push edx
push 0x51
push ebx
call fcn.004580e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
push eax
push esi
push ecx
push 0x48
mov esi, edi
call fcn.004452a0
mov esi, dword [esp + 0x4c]
add esp, 0x28
mov edx, ebx
call fcn.0045dd00
mov esi, dword [esp + 0x1c]
call fcn.0045dd00
jmp 0x45bb11
mov edx, dword [edx + 0xc]
push esi
push edx
push ebx
call fcn.0045b7e0
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edx
mov eax, dword [ebx + 0x2c]
movsx edx, word [eax + 0x22]
inc edx
imul edx, dword [ebx + 0x1c]
mov dword [esp + 0xc], eax
movsx eax, word [ebx + 0x20]
mov ecx, esi
push ecx
lea ecx, [edx + eax + 1]
push ecx
push 0x86
mov esi, edi
call fcn.004453b0
movzx eax, word [ebx + 0x20]
add esp, 0xc
test ax, ax
js 0x45bb73
cwde
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
cmp byte [ecx + edx*8 + 0x15], 0x45
jne 0x45bb73
mov edx, dword [ebp + 0x10]
push edx
push 0x27
call fcn.00445350
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x19c], ecx
jne 0x45c2fa
push 0x508440
push ebx
call fcn.00429330
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x45c309
mov ecx, ebx
call fcn.00467b30
xor ecx, ecx
mov al, byte [edx + 1]
cmp al, 4
jne 0x45c335
push 0
mov eax, edx
mov ecx, dword [eax + 8]
push ecx
push 0
push 4
push 0
push 0x16
mov esi, edi
call fcn.00445410
mov eax, dword [esp + 0x40]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
push ecx
push edx
movsx eax, al
push 0x713
mov ecx, ebx
call fcn.00467b50
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x6c]
lea esi, [eax + 1]
mov dword [ecx + 0x6c], esi
lea esi, [eax - 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
test eax, esi
jne 0x45c3b6
mov ecx, eax
lea edx, [ecx*8 + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
push 0
push edx
call fcn.00426bd0
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x45c3c4
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [edx + 0xc]
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
test edx, edx
je 0x45c428
mov eax, edx
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x38]
lea edx, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
push edx
mov esi, ebx
call fcn.0045c770
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x6c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov byte [esp + 0x5e], cl
mov byte [esp + 0x38], 0x9f
mov byte [esp + 0x68], 0x4f
mov dword [esp + 0x74], edx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
test eax, eax
jle 0x45c568
mov ecx, dword [esp + 0x30]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
jmp 0x45c450
inc dword [ebx + 0x64]
cmp dword [esp + 0x1c], 0
je 0x45c466
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x78], eax
jmp 0x45c470
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
test eax, edx
jne 0x45c4b3
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00426bd0
mov edx, dword [esp + 0x28]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x34]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x45c4c1
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [esp + 0x24]
push 0x10
push esi
push eax
push ebx
call fcn.0045d190
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x18]
push ecx
push eax
push ebx
call fcn.0045c910
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
add esp, 0x1c
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x54], eax
jg 0x45c505
push edi
call fcn.00445210
add esp, 4
test eax, eax
jne 0x45c530
inc dword [edi + 0x20]
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov eax, ebx
call fcn.0045b380
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, esi
js 0x45c54e
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x45c54e
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [edi + 0x20]
add dword [esp + 0xc], 0x30
dec eax
dec dword [esp + 0x14]
mov dword [ecx + 0x58], eax
jne 0x45c450
mov ecx, dword [esp + 0x18]
test cl, 1
je 0x45c595
mov edx, dword [ebp + 0x10]
inc dword [ebx + 0x64]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*8 - 0x18]
push eax
push ebx
call fcn.0045c910
add esp, 0xc
mov eax, ebx
call fcn.0045b380
jmp 0x45c5d3
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x45c5ad
push edi
call fcn.00445210
add esp, 4
test eax, eax
jne 0x45c5d3
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1a
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
js 0x45c5ec
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x45c5ec
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [edi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x45bb42
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret