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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xf8
mov dword [esp + 0x80], eax
mov edx, dword [0x7dfd68]
mov dword [esp + 0xb8], edx
mov esi, dword [0x7dfd6c]
mov ebx, dword [0x7dfd54]
mov ebp, dword [0x7dfd58]
mov ecx, dword [0x7dfd5c]
mov dword [esp + 0x48], ecx
mov edx, dword [0x7dfd4c]
mov dword [esp + 0xbc], edx
mov edx, dword [0x7dfd50]
mov dword [esp + 0x40], edx
cmp ebx, 1
je 0x40cd5e
cmp ebx, 2
je 0x40cd4d
cmp ebx, 3
je 0x40cd3c
cmp ebx, 4
je 0x40cd2b
cmp ebx, 5
je 0x40cd1a
cmp ebx, 6
je 0x40cd09
cmp ebx, 7
je 0x40ccf8
mov edx, 1
mov dword [esp + 0xe4], edx
mov edx, eax
test edx, edx
jne 0x40b81d
mov eax, esi
call fcn.0040b740
mov edx, 0x56e5b8
mov ecx, dword [edx]
mov dword [esp + 0x58], ecx
mov edi, dword [edx + 4]
mov dword [esp + 0x5c], edi
mov ecx, dword [edx + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x78], ecx
mov edx, dword [edx + 0x24]
mov dword [esp + 0x7c], edx
mov edi, dword [esp + 0xbc]
xor edx, edx
mov byte [esi + 0xa2], 0
test edi, edi
jle 0x40b8eb
xor ecx, ecx
mov eax, 1
lea edx, [eax + eax]
add edx, edx
cmp edi, dword [esp + edx + 0x58]
jg 0x40b898
inc eax
cmp eax, 0xa
jl 0x40b882
add eax, eax
lea edx, [eax + eax]
mov edx, dword [esp + edx + 0x54]
mov eax, dword [0x5957c4]
cmp edx, eax
jle 0x40b8ab
test eax, eax
jle 0x40b8ab
mov edx, eax
mov eax, dword [0x7dfd3c]
cmp edx, eax
jle 0x40b8ba
test eax, eax
jle 0x40b8ba
mov edx, eax
cmp edx, ebp
jle 0x40b8c4
test ebp, ebp
jle 0x40b8c4
mov edx, ebp
sub edi, edx
mov dword [esi + ecx*4 + 0xac], edx
movzx edx, byte [esi + 0xa2]
inc edx
mov byte [esi + 0xa2], dl
movzx ecx, dl
cmp ecx, 0x20
je 0x40ccd8
test edi, edi
jg 0x40b87d
mov edi, dword [esp + 0x40]
mov byte [esi + 0xa3], 0
test edi, edi
jle 0x40ccd1
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x48]
mov eax, 1
lea edx, [eax + eax]
add edx, edx
cmp edi, dword [esp + edx + 0x58]
jg 0x40b923
inc eax
cmp eax, 0xa
jl 0x40b90d
add eax, eax
lea edx, [eax + eax]
mov edx, dword [esp + edx + 0x54]
mov eax, dword [0x5957c8]
cmp edx, eax
jle 0x40b936
test eax, eax
jle 0x40b936
mov edx, eax
mov eax, dword [0x7dfd40]
cmp edx, eax
jle 0x40b945
test eax, eax
jle 0x40b945
mov edx, eax
cmp edx, ebp
jle 0x40b94f
test ebp, ebp
jle 0x40b94f
mov edx, ebp
sub edi, edx
mov dword [esi + ecx*4 + 0x12c], edx
movzx ecx, byte [esi + 0xa3]
inc ecx
mov byte [esi + 0xa3], cl
movzx ecx, cl
cmp ecx, 0x20
je 0x40cca4
test edi, edi
jg 0x40b908
mov ebp, dword [esp + 0x4c]
movzx edx, byte [esi + 0xa2]
movzx edx, dl
mov dword [esp + 0x90], edx
mov eax, dword [0x5b261c]
test eax, eax
je 0x40cc84
test eax, eax
je 0x40cc65
mov eax, dword [0x5b2620]
test eax, eax
je 0x40cc46
test eax, eax
je 0x40cc27
mov eax, dword [0x5b2624]
test eax, eax
je 0x40cc08
test eax, eax
je 0x40cbe9
mov eax, dword [0x5b2628]
test eax, eax
je 0x40cbca
test eax, eax
je 0x40cbab
mov eax, dword [0x5b262c]
test eax, eax
je 0x40cb8c
test eax, eax
je 0x40cb6d
mov eax, dword [0x5b2630]
test eax, eax
je 0x40cb4e
test eax, eax
je 0x40cb2f
mov eax, dword [0x5b2634]
test eax, eax
je 0x40cb10
test eax, eax
je 0x40caf1
mov eax, dword [0x5b2638]
test eax, eax
je 0x40cad2
test eax, eax
je 0x40cab3
mov eax, dword [0x5b263c]
test eax, eax
je 0x40ca94
test eax, eax
je 0x40ca75
test ecx, ecx
jle 0x40c4f5
mov edx, 1
mov dword [esp + 0xa4], edx
xor edi, edi
mov dword [esp + 0x54], edi
xor edx, edx
mov dword [esp + 0x98], edx
lea edx, [ecx - 1]
mov eax, dword [esp + 0x90]
lea edi, [eax - 1]
mov dword [esp + 0x84], edi
lea edi, [eax + eax]
add edi, edi
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0xa0], esi
mov edi, eax
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x98]
mov esi, dword [esi + eax*4 + 0x12c]
mov edx, dword [esp + 0x90]
test edx, edx
jle 0x40ca69
xor ebp, ebp
xor ebx, ebx
mov edx, dword [esp + 0x54]
lea ecx, [edx + esi]
mov eax, dword [esp + 0x40]
sub eax, edx
add eax, edx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa0]
lea edx, [eax + edi]
mov dword [esp + 0xec], edx
lea edx, [esi - 1]
mov dword [esp + 0xac], edx
xor edx, edx
mov dword [esp + 0xe8], edx
lea eax, [eax + edi + 0x200]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0xe4]
mov esi, dword [esp + 0xa0]
mov esi, dword [esi + ebx*4 + 0xac]
lea edi, [esi + esi]
add edi, edi
mov eax, dword [esp + 0xdc]
imul eax, edi
cmp eax, dword [0x595084]
jle 0x40bb87
mov dword [0x595084], eax
push eax
push dword [0x5b261c]
mov dword [esp + 0xec], edx
call fcn.0045f9f8
mov edx, dword [esp + 0xec]
add esp, 8
mov dword [0x5b261c], eax
test eax, eax
je 0x40c58c
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp eax, ecx
je 0x40bd88
mov eax, dword [esp + 0x84]
cmp ebx, eax
je 0x40bc6b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40c08f
xor eax, eax
mov dword [esp + 0xb4], eax
lea eax, [ebp + ebp]
add eax, eax
mov dword [esp + 0xc4], eax
mov eax, ecx
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov eax, dword [edx + 0x90]
add eax, dword [esp + 0xc4]
lea edx, [ebx + ebx]
add edx, edx
add eax, edx
mov edx, esi
add edx, dword [0x5b261c]
push edi
push eax
push edx
call dword [0x5b248c]
add esp, 0xc
add esi, edi
add ebx, dword [esp + 0xbc]
inc ebp
mov edx, dword [esp + 0xc0]
cmp ebp, edx
jl 0x40bc06
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
jmp 0x40c08f
mov ecx, dword [esp + 0xbc]
sub ecx, ebp
add ecx, ecx
add ecx, ecx
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40c08f
xor eax, eax
mov dword [esp + 0xb4], eax
mov eax, edi
sub eax, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
lea eax, [ebp + ebp]
add eax, eax
mov dword [esp + 0xc4], eax
mov eax, ecx
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 0x90]
add eax, dword [esp + 0xc4]
lea edx, [ebp + ebp]
add edx, edx
add eax, edx
mov edx, esi
add edx, dword [0x5b261c]
push edi
push eax
push edx
call dword [0x5b248c]
mov edx, dword [0x5b261c]
add edx, edi
add edx, esi
push dword [0x595738]
mov eax, dword [esp + 0xdc]
push eax
push edx
call dword [0x5b2488]
add esp, 0x18
add esi, dword [esp + 0xd0]
add ebp, dword [esp + 0xbc]
inc ebx
mov eax, dword [esp + 0xc0]
cmp ebx, eax
jl 0x40bcfe
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
jmp 0x40c08f
mov eax, dword [esp + 0x84]
cmp ebx, eax
je 0x40beef
mov eax, dword [esp + 0x54]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
jge 0x40c5b1
xor eax, eax
mov dword [esp + 0xa8], eax
lea ecx, [ebp + ebp]
add ecx, ecx
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xcc]
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, dword [esp + 0xa8]
mov ebp, eax
mov esi, dword [esp + 0xcc]
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xb4]
lea edx, [ebp + ebp]
add edx, edx
add ecx, edx
mov eax, ebx
add eax, dword [0x5b261c]
push edi
push ecx
push eax
call dword [0x5b248c]
add esp, 0xc
add ebx, edi
add ebp, dword [esp + 0xbc]
inc esi
mov eax, dword [esp + 0xb0]
cmp esi, eax
jl 0x40be09
mov dword [esp + 0xa8], ebx
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40c08f
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0xa8]
mov eax, esi
add eax, dword [0x5b261c]
push dword [0x595738]
push edi
push eax
call dword [0x5b2488]
add esp, 0xc
add esi, edi
inc ebx
cmp ebx, ebp
jl 0x40beae
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
jmp 0x40c08f
mov eax, dword [esp + 0xbc]
sub eax, ebp
add eax, eax
add eax, eax
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xb0]
cmp ecx, eax
jge 0x40ca5e
xor eax, eax
mov dword [esp + 0x50], eax
mov ecx, edi
sub ecx, dword [esp + 0xc8]
mov dword [esp + 0xc4], ecx
lea eax, [ebp + ebp]
add eax, eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa8]
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, dword [esp + 0x50]
mov ebp, eax
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xb4]
lea edx, [ebp + ebp]
add edx, edx
add ecx, edx
mov eax, ebx
add eax, dword [0x5b261c]
push edi
push ecx
push eax
call dword [0x5b248c]
mov edx, dword [0x5b261c]
add edx, edi
add edx, ebx
push dword [0x595738]
mov eax, dword [esp + 0xd4]
push eax
push edx
call dword [0x5b2488]
add esp, 0x18
add ebx, dword [esp + 0xd0]
add ebp, dword [esp + 0xbc]
inc esi
mov eax, dword [esp + 0xb0]
cmp esi, eax
jl 0x40bf8d
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40c08f
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0x50]
mov eax, esi
add eax, dword [0x5b261c]
push dword [0x595738]
push edi
push eax
call dword [0x5b2488]
add esp, 0xc
add esi, edi
inc ebx
cmp ebx, ebp
jl 0x40c053
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
movsx eax, byte [0x7df378]
test eax, eax
je 0x40c0b3
movsx eax, byte [0x5956e0]
test eax, eax
je 0x40c0ac
mov ecx, 0x100005
jmp 0x40c0b8
mov ecx, 5
jmp 0x40c0b8
mov ecx, 5
movsx eax, byte [0x7df384]
test eax, eax
jne 0x40c12f
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40c0d8
mov edx, 1
jmp 0x40c201
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x7dfce0]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0x98]
push edx
push edi
push dword [0x7dfcd8]
push edi
push 1
mov edx, dword [esp + 0xf4]
push edx
push esi
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa4], eax
mov edx, 1
jmp 0x40c201
cmp edx, 1
jne 0x40c19d
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40c149
mov edx, 2
jmp 0x40c201
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x7dfce0]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0x98]
push edx
push edi
push dword [0x7dfcd8]
push edi
push 2
mov edx, dword [esp + 0xf4]
push edx
push esi
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa4], eax
mov edx, 2
jmp 0x40c201
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40c1af
mov edx, 4
jmp 0x40c201
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x7dfce0]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0x98]
push edx
push edi
push dword [0x7dfcd8]
push edi
push 4
mov edx, dword [esp + 0xf4]
push edx
push esi
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa4], eax
mov edx, 4
mov eax, dword [esp + 0xa4]
test eax, eax
jl 0x40ca30
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe0], eax
mov eax, dword [0x5b261c]
test edx, edx
jbe 0x40c48d
xor edi, edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xd8], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe4], edx
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov ebp, dword [eax + edx + 0x200]
mov esi, dword [ebp]
lea ebx, [esp + 0xe0]
push ebx
push edi
push ebp
call dword [esi + 0x48]
test eax, eax
jne 0x40c451
mov eax, dword [0x7dfce0]
mov ecx, edi
mov ebp, dword [esp + 0xd8]
sar ebp, cl
mov ecx, edi
mov ebx, dword [esp + 0xdc]
sar ebx, cl
mov esi, dword [eax]
lea edx, [esp + 0xd4]
push 0
push edx
push 2
push dword [0x5957c0]
push ebx
push ebp
push eax
call dword [esi + 0x90]
test eax, eax
jne 0x40c43d
cmp edi, 1
je 0x40c8a6
cmp edi, 2
je 0x40c847
cmp edi, 3
je 0x40c7e1
cmp edi, 4
je 0x40c77b
cmp edi, 5
je 0x40c715
cmp edi, 6
je 0x40c6af
cmp edi, 7
je 0x40c652
cmp edi, 8
je 0x40c5fc
mov esi, dword [esp + 0xd4]
mov ecx, dword [esi]
lea edx, [esp + 0xf0]
xor eax, eax
push eax
push eax
push edx
push esi
call dword [ecx + 0x34]
test eax, eax
jl 0x40c5e8
test ebx, ebx
jle 0x40c386
xor edx, edx
add ebp, ebp
add ebp, ebp
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xc8], edi
mov esi, eax
mov edi, ebx
mov ebx, edx
mov ecx, ebx
imul ecx, dword [esp + 0xf0]
add ecx, dword [esp + 0xf4]
push ebp
push esi
push ecx
call dword [0x5b248c]
add esp, 0xc
add esi, ebp
inc ebx
cmp ebx, edi
jl 0x40c354
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xc8]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
test eax, eax
jl 0x40c5bf
movsx eax, byte [0x7df378]
test eax, eax
jne 0x40c3dc
mov edx, dword [0x7dfce0]
mov ebx, dword [edx]
xor eax, eax
push eax
push dword [esp + 0xe4]
push eax
push dword [esp + 0xe0]
push edx
call dword [ebx + 0x78]
mov dword [esp + 0xa4], eax
test eax, eax
je 0x40c403
push 0x7e93cc
push 0x7e58a0
call fcn.0045d62c
add esp, 8
jmp 0x40c403
xor edx, edx
push dword [0x595738]
mov eax, dword [esp + 0xac]
push eax
push edx
push edx
push dword [esp + 0xe4]
push edx
push edx
push dword [esp + 0xfc]
call fcn.004be321
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x40c414
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x40c430
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xd4], 0
jmp 0x40c466
push 0x7e9330
push 0x7e9364
call fcn.0040ced4
add esp, 8
jmp 0x40c466
push edi
push 2
push 0x7e9420
push 0x7e58a0
call fcn.0045d62c
add esp, 0x10
inc edi
mov eax, dword [esp + 0xe4]
cmp edi, eax
jb 0x40c259
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edx, eax
lea ebp, [ebp + esi]
add dword [esp + 0xe8], 4
add dword [esp + 0x94], 4
inc ebx
mov eax, dword [esp + 0x90]
cmp ebx, eax
jl 0x40bb33
mov dword [esp + 0xe4], edx
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
add edi, dword [esp + 0x38]
mov eax, dword [esp + 0x98]
inc eax
mov dword [esp + 0x98], eax
mov edx, dword [esp + 0x3c]
cmp eax, edx
jl 0x40baaa
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0xa0]
fld dword [0x7dfd44]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esi + 0x1d0]
fldcw word [esp + 0x28]
fld dword [0x7dfd48]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esi + 0x1d8]
fldcw word [esp + 0x28]
mov edx, dword [0x7dfd4c]
mov dword [esi + 0x70], edx
mov ecx, dword [0x7dfd50]
mov dword [esi + 0x74], ecx
mov byte [esi + 0xa1], bl
mov dword [esi + 0xa4], ebp
mov ebx, dword [esp + 0x48]
mov dword [esi + 0xa8], ebx
xor eax, eax
mov dword [0x7dfd4c], eax
mov dword [0x7dfd50], eax
mov dword [0x7dfd44], eax
mov dword [0x7dfd48], eax
xor eax, eax
add esp, 0xf8
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0xec], edx
call fcn.0040ced4
mov edx, dword [esp + 0xec]
add esp, 8
jmp 0x40bb87
xor eax, eax
mov dword [esp + 0xa8], eax
jmp 0x40be71
push 0x7e98c0
push 0x7e58a0
call fcn.0045d62c
add esp, 8
push 0x7e96c8
push 0x7e9364
call fcn.0040ced4
add esp, 8
jmp 0x40c41f
push 0x7e98ac
push 0x7e58a0
call fcn.0045d62c
add esp, 8
jmp 0x40c5d1
mov eax, dword [0x5b263c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xd8]
lea esi, [ecx - 1]
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
jmp 0x40c30e
mov eax, dword [esp + 0xd8]
lea esi, [eax - 1]
mov eax, dword [0x5b2638]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
jmp 0x40c30e
mov eax, dword [esp + 0xd8]
lea esi, [eax - 1]
mov eax, dword [0x5b2634]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
cmp edi, 7
je 0x40c65c
jmp 0x40c30e
mov eax, dword [esp + 0xd8]
lea esi, [eax - 1]
mov eax, dword [0x5b2630]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
cmp edi, 6
je 0x40c6b9
jmp 0x40c30e
mov eax, dword [esp + 0xd8]
lea esi, [eax - 1]
mov eax, dword [0x5b262c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
cmp edi, 5
je 0x40c71f
jmp 0x40c30e
mov eax, dword [esp + 0xd8]
lea esi, [eax - 1]
mov eax, dword [0x5b2628]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
cmp edi, 4
je 0x40c785
jmp 0x40c30e
mov eax, dword [0x5b2624]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xd8]
lea esi, [ecx - 1]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov edx, dword [0x5b261c]
xor ecx, ecx
call fcn.0040cd7c
cmp edi, 3
je 0x40c7eb
jmp 0x40c30e
mov edx, dword [0x5b261c]
mov eax, dword [0x5b2620]
mov dword [esp + 0xcc], eax
mov esi, dword [esp + 0xd8]
lea eax, [esi - 1]
movsx ecx, byte [0x5956f4]
test ecx, ecx
jle 0x40ca29
mov dword [0x790604], 0x29
xor esi, esi
mov dword [esp + 0xb4], esi
xor esi, esi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd0], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0xc8], edi
mov edi, esi
mov esi, dword [esp + 0xb4]
jmp 0x40c90e
mov dword [esp + 0x50], ebp
mov dword [edi + 0x790608], 0
mov eax, ebx
cdq
idiv ecx
mov dword [edi + 0x79060c], eax
mov ebp, dword [esp + 0x50]
xor eax, eax
mov dword [edi + 0x790618], eax
mov dword [edi + 0x79061c], eax
mov edx, dword [esp + 0xc4]
mov dword [edi + 0x790620], edx
mov ecx, dword [esp + 0xac]
mov dword [edi + 0x790624], ecx
mov eax, dword [esp + 0xd8]
mov dword [edi + 0x790628], eax
mov eax, dword [esp + 0xdc]
mov dword [edi + 0x79062c], eax
mov dword [edi + 0x790630], ebp
mov dword [edi + 0x790634], ebx
mov eax, dword [esp + 0xcc]
mov dword [edi + 0x790638], eax
mov eax, dword [esp + 0xd0]
mov dword [edi + 0x79063c], eax
push dword [esi*4 + 0x792000]
call dword [0x56e23c]
push 0xffffffffffffffff
push dword [esi*4 + 0x792100]
call dword [0x56e238]
inc esi
movsx ecx, byte [0x5956f4]
cmp esi, ecx
jge 0x40c9f8
lea eax, [esi + esi]
add eax, eax
sub eax, esi
lea edi, [esi + eax*4]
add edi, edi
add edi, edi
add edi, edi
mov dword [edi + 0x790604], 0x29
test esi, esi
je 0x40c90a
cmp esi, 1
jne 0x40c927
mov eax, ebx
cdq
idiv ecx
mov dword [edi + 0x790608], eax
mov dword [edi + 0x79060c], ebx
jmp 0x40c927
mov edi, dword [esp + 0xc8]
test ecx, ecx
jle 0x40c2cf
xor esi, esi
push 0xffffffffffffffff
push dword [esi*4 + 0x792200]
call dword [0x56e238]
inc esi
movsx eax, byte [0x5956f4]
cmp esi, eax
jl 0x40ca09
jmp 0x40c2cf
jg 0x40ca07
jmp 0x40c30e
push 0x7e95a0
push 0x7e58a0
call fcn.0040ced4
push 0x7e96a0
push 0x7e58a0
call fcn.0045d62c
mov eax, 0xffffffff
add esp, 0x108
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
mov dword [esp + 0x50], eax
jmp 0x40c01d
mov eax, dword [esp + 0x54]
lea ecx, [eax + esi]
jmp 0x40c4c3
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40ba48
push 0x100
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b263c], eax
jmp 0x40ba40
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40ba33
push 0x400
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2638], eax
jmp 0x40ba2b
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40ba1e
push 0x1000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2634], eax
jmp 0x40ba16
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40ba09
push 0x4000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2630], eax
jmp 0x40ba01
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40b9f4
push 0x10000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b262c], eax
jmp 0x40b9ec
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40b9df
push 0x40000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2628], eax
jmp 0x40b9d7
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40b9ca
push 0x100000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2624], eax
jmp 0x40b9c2
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40b9b5
push 0x400000
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b2620], eax
jmp 0x40b9ad
push 0x7e958c
push 0x7e58a0
mov dword [esp + 0x44], ecx
call fcn.0040ced4
mov ecx, dword [esp + 0x44]
add esp, 8
jmp 0x40b9a0
push dword [0x595084]
mov dword [esp + 0x40], ecx
call fcn.0045f6ac
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [0x5b261c], eax
jmp 0x40b998
push edi
mov eax, dword [esp + 0x44]
push eax
mov edx, dword [esp + 0xc4]
push edx
push 0x7e9558
push 0x7e58a0
call fcn.0040ced4
mov eax, 0xffffffff
add esp, 0x10c
pop ebx
pop ebp
pop esi
pop edi
ret
xor ecx, ecx
jmp 0x40b981
xor eax, eax
push eax
push eax
push 0x7e9540
push eax
call dword [0x56e350]
mov eax, 0xffffffff
add esp, 0xf8
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, 8
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 7
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 6
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 5
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 4
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 3
mov dword [esp + 0xe4], edx
jmp 0x40b810
mov edx, 2
mov dword [esp + 0xe4], edx
jmp 0x40b810