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

Disassembly:
push 0xffffffffffffffff
push 0x4d97e3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x51b260]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], eax
xor edi, edi
mov eax, 0xf
mov esi, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
mov dword [esp + 0xf4], edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x20]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0x4e0934
mov edx, dword [esi + 0x238]
mov dword [esi + 0x1c4], edx
mov dword [esi + 0x1c8], 0x19
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1c0], edi
mov ecx, dword [esi + 0x7d0]
sub ecx, dword [esi + 0x7cc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov byte [esp + 0xf4], 3
mov dword [esp + 0x78], ebx
jne 0x46df54
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
mov esi, 0x10
cmp dword [esp + 0xac], esi
jb 0x46df0d
mov eax, dword [esp + 0x98]
push eax
call fcn.0048dd02
add esp, 4
mov ebx, 0xf
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], esi
jb 0x46df41
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0048dd02
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0xc8], ebx
jmp 0x46e926
lea ecx, [esi + 0x180]
mov dword [esp + 0x44], ecx
call fcn.00457670
mov eax, dword [esi + 0x840]
lea edi, [esi + 0x830]
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], eax
cmp dword [edi + 0xc], eax
jbe 0x46df81
call fcn.0049eacd
mov eax, dword [edi]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
cmp eax, dword [edi + 0x10]
jbe 0x46df98
call fcn.0049eacd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.00436e00
mov eax, dword [esi + 0x20]
push eax
push 1
push 2
call dword [sym.imp.gdi32.dll_CreatePen]
push eax
lea ecx, [esp + 0x28]
call fcn.0049068a
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
call fcn.00490775
mov ecx, dword [esi + 0x1c8]
lea edi, [ebx - 1]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
test edi, edi
jl 0x46e043
jmp 0x46e000
mov edx, dword [esi + 0x800]
sub edx, dword [esi + 0x7fc]
sar edx, 2
cmp edi, edx
jb 0x46e01c
call fcn.0049eacd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x7fc]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x30]
add edx, ebp
add ecx, edx
cmp ecx, 0x24e
mov dword [esp + 0x30], ecx
jge 0x46e043
dec edi
inc eax
mov dword [esp + 0x1c], eax
test edi, edi
jge 0x46e000
add eax, dword [esi + 0x808]
cmp eax, ebx
jge 0x46e053
mov edi, ebx
sub edi, eax
jmp 0x46e067
jne 0x46e065
xor eax, eax
test edi, edi
setl al
dec eax
and eax, edi
mov dword [esi + 0x808], eax
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov ebp, 0x10
jge 0x46e89b
mov ecx, dword [esi + 0x7d0]
sub ecx, dword [esi + 0x7cc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x46e0a8
call fcn.0049eacd
mov eax, dword [esi + 0x7cc]
lea edx, [edi*8]
push 0xffffffffffffffff
sub edx, edi
lea eax, [eax + edx*4]
push 0
push eax
lea ecx, [esp + 0xa0]
call fcn.00401860
mov ecx, dword [esi + 0x7e8]
sub ecx, dword [esi + 0x7e4]
sar ecx, 2
cmp edi, ecx
jb 0x46e0e3
call fcn.0049eacd
mov edx, dword [esi + 0x7e4]
mov edi, dword [edx + edi*4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], ecx
cmp edi, 0xffffffff
je 0x46e11c
mov eax, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1c4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x54], edx
mov dword [esi + 0x20], eax
jmp 0x46e123
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x20], edx
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x46e7b2
jmp 0x46e147
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x18]
cmp ebp, ecx
jbe 0x46e15b
call fcn.0049eacd
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x98]
mov ebx, 0x10
cmp dword [esp + 0xac], ebx
jae 0x46e177
lea eax, [esp + 0x98]
mov al, byte [eax + ebp]
lea edi, [ebp + 1]
mov byte [esp + 0x14], al
cmp edi, ecx
jbe 0x46e18a
call fcn.0049eacd
mov eax, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x46e1a1
lea eax, [esp + 0x98]
movzx ecx, byte [edi + eax]
push 0
mov byte [esp + 0x19], cl
push 0x4db6d7
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1e], 0
call fcn.00401970
push 0
push 0x4db6d7
lea ecx, [esp + 0xb8]
call fcn.00401970
mov al, byte [esp + 0x14]
mov cl, byte [esp + 0x15]
cmp al, 0xff
jne 0x46e65f
cmp cl, 0xff
jne 0x46e65f
add ebp, 2
cmp ebp, dword [esp + 0xa8]
jbe 0x46e1fe
call fcn.0049eacd
mov eax, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x46e215
lea eax, [esp + 0x98]
movsx eax, byte [eax + ebp]
inc ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
test eax, eax
jle 0x46e2c6
mov ebx, dword [esp + 0x18]
mov edi, ebp
inc edi
mov ebp, eax
cmp ebx, dword [esp + 0xa8]
jbe 0x46e241
call fcn.0049eacd
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x46e259
lea eax, [esp + 0x98]
mov dl, byte [eax + ebx]
mov byte [esp + 0x7c], dl
mov eax, dword [esp + 0x7c]
push eax
push 1
lea ecx, [esp + 0xd4]
call fcn.004017b0
cmp edi, dword [esp + 0xa8]
jbe 0x46e281
call fcn.0049eacd
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x46e299
lea eax, [esp + 0x98]
mov cl, byte [eax + edi]
mov byte [esp + 0x74], cl
mov edx, dword [esp + 0x74]
push edx
push 1
lea ecx, [esp + 0xd4]
call fcn.004017b0
add ebx, 2
add edi, 2
sub ebp, 1
jne 0x46e233
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0xa8]
jbe 0x46e2d8
call fcn.0049eacd
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x46e2f0
lea eax, [esp + 0x98]
movsx ebx, byte [eax + edi]
inc edi
mov dword [esp + 0x18], edi
test ebx, ebx
jle 0x46e39f
mov ebp, dword [esp + 0x18]
inc edi
mov dword [esp + 0x40], ebx
cmp ebp, dword [esp + 0xa8]
jbe 0x46e318
call fcn.0049eacd
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x46e330
lea eax, [esp + 0x98]
mov al, byte [eax + ebp]
mov byte [esp + 0x70], al
mov ecx, dword [esp + 0x70]
push ecx
push 1
lea ecx, [esp + 0xb8]
call fcn.004017b0
cmp edi, dword [esp + 0xa8]
jbe 0x46e358
call fcn.0049eacd
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x46e370
lea eax, [esp + 0x98]
mov dl, byte [eax + edi]
mov byte [esp + 0x64], dl
mov eax, dword [esp + 0x64]
push eax
push 1
lea ecx, [esp + 0xb8]
call fcn.004017b0
add ebp, 2
add edi, 2
sub dword [esp + 0x40], 1
jne 0x46e30a
mov dword [esp + 0x18], ebp
mov ecx, dword [esi + 0x48c]
mov eax, dword [esi + 0xc8]
add eax, ecx
imul eax, ebx
cdq
idiv dword [esp + 0x38]
mov edx, dword [esi + 0x528]
mov ebp, 1
mov dword [esp + 0x40], edx
mov dword [esi + 0x528], ebp
mov dword [esp + 0x38], eax
lea eax, [ebx + 1]
imul eax, ecx
add eax, dword [esi + 0x1c4]
add eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x23c]
jl 0x46e533
mov edi, dword [esi + 0x1bc]
cmp edi, dword [esi + 0xb4]
mov ecx, dword [esi + 0x238]
mov dword [esi + 0x1c4], ecx
jge 0x46e4f8
mov edx, dword [esi + 0xcc]
add edx, dword [esi + 0x490]
mov eax, dword [esi + 0x1b8]
add dword [esi + 0x1c8], edx
add dword [esi + 0x1c0], ebp
inc edi
add eax, 3
cmp dword [esp + 0x3c], eax
mov dword [esi + 0x1bc], edi
jg 0x46e533
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00466800
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x1b8], edi
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
mov esi, 0x10
cmp dword [esp + 0xac], esi
jb 0x46e48e
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0048dd02
add esp, 4
mov ebx, 0xf
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], esi
jb 0x46e4c2
mov edx, dword [esp + 0xb4]
push edx
call fcn.0048dd02
add esp, 4
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
cmp dword [esp + 0xe4], esi
jb 0x46e4f1
mov eax, dword [esp + 0xd0]
push eax
call fcn.0048dd02
add esp, 4
mov eax, ebp
jmp 0x46e949
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x1c8]
lea ebp, [ecx + eax]
lea ebp, [edx + ebp*2]
cmp ebp, 0x24e
jge 0x46e973
add ecx, edx
add ecx, eax
inc edi
inc dword [esi + 0x1c0]
mov dword [esi + 0x1c8], ecx
mov dword [esi + 0x1bc], edi
mov edx, dword [esp + 0x20]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x88], esp
push 0xffffffffffffffff
xor ebp, ebp
push ebp
lea eax, [esp + 0xf4]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebp
push eax
mov byte [ecx + 4], 0
call fcn.00401860
mov ecx, dword [esp + 0x58]
push ebx
push ecx
mov ecx, esi
call fcn.00467510
add ebx, ebx
cmp ebx, ebp
jle 0x46e64c
jmp 0x46e580
cmp ebp, dword [esp + 0xc4]
jbe 0x46e58e
call fcn.0049eacd
cmp dword [esp + 0xc8], 0x10
mov eax, dword [esp + 0xb4]
jae 0x46e5a6
lea eax, [esp + 0xb4]
mov dl, byte [eax + ebp]
lea edi, [ebp + 1]
mov byte [esp + 0x14], dl
cmp edi, dword [esp + 0xc4]
jbe 0x46e5be
call fcn.0049eacd
cmp dword [esp + 0xc8], 0x10
mov eax, dword [esp + 0xb4]
jae 0x46e5d6
lea eax, [esp + 0xb4]
mov cl, byte [eax + edi]
mov al, byte [esi + 0xfd9]
mov dl, byte [esi + 0x858]
xor byte [esp + 0x14], al
add dl, al
dec dl
xor cl, dl
mov edx, dword [esp + 0x20]
push 0
mov byte [esp + 0x19], cl
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0046ca50
mov eax, dword [esi + 0xc8]
add eax, dword [esi + 0x48c]
add dword [esi + 0x1c4], eax
lea eax, [esp + 0x14]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46e627
sub eax, ecx
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x874]
call fcn.00405b40
add ebp, 2
cmp ebp, ebx
jl 0x46e580
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x528], edx
jmp 0x46e7a8
add ebp, 2
mov dword [esp + 0x18], ebp
cmp al, 0xfe
je 0x46e755
cmp cl, 0xfe
je 0x46e755
cmp dword [esi + 0x230], 1
jne 0x46e695
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x48c]
push eax
push ecx
mov ecx, esi
call fcn.00466800
mov al, byte [esi + 0xfd9]
mov dl, byte [esi + 0x858]
xor byte [esp + 0x14], al
mov ecx, dword [esp + 0x100]
mov edi, dword [esp + 0x20]
add dl, al
push 0
lea eax, [esp + 0x18]
push eax
push ecx
dec dl
xor byte [esp + 0x21], dl
push edi
mov ecx, esi
call fcn.0046ca50
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0x48c]
mov ecx, dword [esi + 0x1c4]
add edx, edx
lea ebx, [ecx + eax*2]
add ebx, edx
cmp ebx, dword [esi + 0x23c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], 0
jl 0x46e743
mov edx, dword [esi + 0x238]
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0xcc]
mov dword [esi + 0x1c4], edx
lea edx, [ecx + eax]
add dword [esi + 0x1c8], edx
mov edx, dword [esi + 0x1c8]
add edx, ecx
add edx, eax
cmp edx, 0x24e
jge 0x46eada
cmp byte [esp + 0x14], 0xfe
je 0x46e73a
cmp byte [esp + 0x15], 0xfe
jne 0x46e7a8
add ebp, 2
mov dword [esp + 0x18], ebp
jmp 0x46e7a8
mov edx, dword [esi + 0xc8]
add edx, eax
add edx, ecx
mov dword [esi + 0x1c4], edx
jmp 0x46e7a8
cmp dword [esp + 0x50], 0
jne 0x46e7a8
mov eax, dword [esi + 0x238]
mov ecx, dword [esi + 0xcc]
mov dword [esi + 0x1c4], eax
mov eax, dword [esi + 0x490]
lea edx, [ecx + eax]
add dword [esi + 0x1c8], edx
mov edx, dword [esi + 0x1c8]
mov ebx, 1
add dword [esi + 0x1bc], ebx
add dword [esi + 0x1c0], ebx
add edx, ecx
add edx, eax
cmp edx, 0x24e
mov dword [esp + 0x50], ebx
jge 0x46ebfb
cmp ebp, dword [esp + 0x3c]
jl 0x46e140
mov ebp, dword [esp + 0x1c]
cmp ebp, 0xffffffff
je 0x46e842
mov edi, dword [esp + 0x54]
mov ecx, dword [esi + 0x1c8]
sub ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x23c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
call fcn.00458cc0
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x46e801
xor ecx, ecx
jmp 0x46e809
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x46e821
mov dword [ebx], ebp
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x46e842
cmp eax, ebx
jbe 0x46e82a
call fcn.0049eacd
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, edi
call fcn.00469800
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x238]
mov edi, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x8c]
push edx
mov ecx, edi
call fcn.0049027d
mov eax, dword [esi + 0x1c8]
push eax
push 0x276
mov ecx, edi
call fcn.0048ffcd
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x80]
add dword [esi + 0x1c8], ecx
inc edi
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x34], edi
jl 0x46e080
mov ebp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.00490775
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
cmp dword [esp + 0xac], ebp
jb 0x46e8e2
mov eax, dword [esp + 0x98]
push eax
call fcn.0048dd02
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], ebp
jb 0x46e918
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0048dd02
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], esi
mov byte [esp + 0xb4], 0
mov dword [esp + 0xc4], edi
jb 0x46e947
mov edx, dword [esp + 0xd0]
push edx
call fcn.0048dd02
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0049ef0f
add esp, 0xe4
ret 8
cmp dword [esi + 0x230], 1
jne 0x46e991
mov ecx, dword [esi + 0x490]
mov edx, dword [esi + 0x48c]
push ecx
push edx
mov ecx, esi
call fcn.00466800
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
cmp ebx, 0xffffffff
je 0x46ea28
mov ecx, dword [esi + 0x1c8]
mov edx, dword [esp + 0x54]
sub ecx, dword [esi + 0xcc]
mov esi, dword [esi + 0x23c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
call fcn.00458cc0
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46e9e7
xor ecx, ecx
jmp 0x46e9ef
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x46ea07
mov dword [edi], ebx
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x46ea28
cmp eax, edi
jbe 0x46ea10
call fcn.0049eacd
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call fcn.00469800
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00490775
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
mov esi, 0x10
cmp dword [esp + 0xac], esi
jb 0x46ea6d
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0048dd02
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], esi
jb 0x46eaa2
mov edx, dword [esp + 0xb4]
push edx
call fcn.0048dd02
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], esi
jb 0x46ead0
mov eax, dword [esp + 0xd0]
push eax
call fcn.0048dd02
add esp, 4
mov eax, 1
jmp 0x46e949
cmp dword [esi + 0x230], 1
jne 0x46eaf8
mov ecx, dword [esi + 0x490]
mov edx, dword [esi + 0x48c]
push ecx
push edx
mov ecx, esi
call fcn.00466800
cmp dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
je 0x46eb47
mov ecx, dword [esi + 0x1c8]
mov edx, dword [esp + 0x54]
sub ecx, dword [esi + 0xcc]
mov esi, dword [esi + 0x23c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
call fcn.00458cc0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
call fcn.004027d0
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.00490775
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
mov edi, 0x10
cmp dword [esp + 0xac], edi
jb 0x46eb8a
mov edx, dword [esp + 0x98]
push edx
call fcn.0048dd02
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x46ebbf
mov eax, dword [esp + 0xb4]
push eax
call fcn.0048dd02
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], edi
jb 0x46ead0
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0048dd02
add esp, 4
mov eax, 1
jmp 0x46e949
cmp dword [esi + 0x230], ebx
jne 0x46ec18
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00466800
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x20], ecx
cmp ebp, 0xffffffff
je 0x46ecaf
mov ecx, dword [esi + 0x1c8]
mov edx, dword [esp + 0x54]
sub ecx, dword [esi + 0xcc]
mov esi, dword [esi + 0x23c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
call fcn.00458cc0
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46ec6e
xor ecx, ecx
jmp 0x46ec76
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x46ec8e
mov dword [edi], ebp
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x46ecaf
cmp eax, edi
jbe 0x46ec97
call fcn.0049eacd
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call fcn.00469800
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00490775
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], 0x4e0934
call fcn.00408c90
mov edi, 0x10
cmp dword [esp + 0xac], edi
jb 0x46ecf4
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0048dd02
add esp, 4
xor ebp, ebp
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebp
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], edi
jb 0x46ed2a
mov edx, dword [esp + 0xb4]
push edx
call fcn.0048dd02
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebp
mov byte [esp + 0xb4], 0
cmp dword [esp + 0xe4], edi
jb 0x46ed59
mov eax, dword [esp + 0xd0]
push eax
call fcn.0048dd02
add esp, 4
mov eax, ebx
jmp 0x46e949