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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
xor eax, eax
mov dword [esp + 0x64], edx
push esi
mov esi, ecx
mov dword [esp + 0x64], eax
or edx, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
xorps xmm0, xmm0
mov dword [esp + 0x6c], eax
cmp dword [esi + 0x40], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], eax
movaps xmmword [esp + 0x80], xmm0
jne 0x4bcc6e
cmp byte [eax + 0x1e], 0
jne 0x4bcc6e
mov edx, dword [esp + 0x6c]
cmp dword [edx + 0xc], 0
je 0x4bcc6e
call fcn.004b7730
mov dword [esp + 0x20], eax
test eax, eax
je 0x4bcc6e
mov edx, dword [eax + 0x40]
mov edi, 0xfff0bdc0
mov dword [esp + 0x18], edi
test edx, edx
je 0x4bb2b4
mov ecx, dword [esp + 0x44]
xor edi, edi
mov dword [esp + 0x18], edi
mov ecx, dword [ecx + 4]
test ecx, ecx
jle 0x4bb2b4
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x4bb2ac
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4bb2a0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov edx, eax
mov ecx, esi
call fcn.004b3e10
test eax, eax
jne 0x4bcc6e
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004b77f0
add esp, 4
test eax, eax
jne 0x4bcc6e
mov esi, dword [esi + 0xc]
mov dword [esp + 0x78], esi
test esi, esi
jne 0x4bb301
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
call fcn.0049cc60
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], esi
mov dword [eax + 0xc], esi
jmp 0x4bb305
mov eax, dword [esp + 0x10]
test esi, esi
je 0x4bcc6e
cmp byte [eax + 0x13], 0
jne 0x4bb317
mov byte [esi + 0x6d], 1
mov edx, edi
mov ecx, eax
call fcn.004b6a60
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x150]
bts eax, edi
test edx, edx
mov dword [ecx + 0x150], eax
setne al
or byte [ecx + 0x158], al
cmp dword [ebp + 0x10], 0
jne 0x4bb476
push edi
push dword [ebp + 0x14]
mov edi, ecx
push edx
mov edx, dword [esp + 0x2c]
call fcn.004bdde0
add esp, 0xc
test eax, eax
jne 0x4bcbdc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4bbacd
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4bb394
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb3cd
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x10]
mov word [esp + 0x80], 0xa
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov edi, dword [eax + 0x48]
inc edi
mov dword [eax + 0x48], edi
mov dword [esp + 0x84], edi
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 2]
mov dword [esp + 0x2c], eax
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb426
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb45c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4bb47d
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bb47d
mov edi, 1
jmp 0x4bb4b5
mov edi, ecx
jmp 0x4bb369
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004cb760
add esp, 4
test eax, eax
jne 0x4bbaac
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x40], 0
jne 0x4bbaac
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x1e], 0
jne 0x4bbaac
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb510
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb549
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb574
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb5ad
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb5cd
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb606
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 6
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 2
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x4bb617
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4bb64a
mov ecx, dword [edi]
call fcn.0049cc60
mov dword [esp + 0x40], eax
mov dword [edi + 0xc], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
test byte [eax + 0x22], 0x10
je 0x4bb66d
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4bb66f
mov eax, dword [edi]
cmp dword [edx], eax
je 0x4bb66f
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x4bb660
jmp 0x4bb66f
xor edx, edx
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jge 0x4bbb75
mov edi, dword [esp + 0x18]
nop
mov ecx, eax
test eax, eax
jns 0x4bb69b
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4bb698
mov eax, 0x536400
jmp 0x4bb6bb
lea ecx, [eax - 1]
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp byte [eax + 0x1e], 0
je 0x4bb6ae
mov eax, 0x536400
jmp 0x4bb6bb
mov eax, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x14]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x26
jne 0x4bb6ee
cmp dword [eax + 0xc], edi
jne 0x4bb6f8
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
je 0x4bb717
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4bb6f8
nop word [eax + eax]
cmp ecx, dword [eax + 0x14]
je 0x4bb717
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4bb6e0
jmp 0x4bb6f8
cmp cl, 0x7c
jne 0x4bb6f8
cmp dword [eax + 0x10], edx
je 0x4bb717
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [edi + 0xc]
mov edi, dword [esp + 0x18]
jl 0x4bb680
jmp 0x4bbb75
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
mov cl, byte [edx + 0x15]
mov dword [esp + 0x4c], eax
inc eax
mov dword [edx + 0x44], eax
test cl, cl
jne 0x4bb73f
inc dword [edx + 0x48]
mov edi, dword [edx + 0x48]
inc dword [edx + 0x48]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x4bb76a
sub cl, 1
movzx eax, cl
mov byte [edx + 0x15], cl
mov edi, dword [edx + eax*4 + 0x18]
jne 0x4bb75a
inc dword [edx + 0x48]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x4bb76a
dec cl
movzx eax, cl
mov byte [edx + 0x15], cl
mov eax, dword [edx + eax*4 + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb78a
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb7c3
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, ecx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb7f8
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bb7f1
mov dword [esp + 0x38], 1
jmp 0x4bb831
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x48], edx
cmp dword [esi + 0x10], edx
jg 0x4bb85b
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bb854
mov dword [esp + 0x48], 1
jmp 0x4bb894
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x48]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb8b4
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb8e9
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb909
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb942
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb962
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb997
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x36
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bb9b7
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bb9f0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x48]
cmp edx, eax
jle 0x4bba05
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dword [esp + 0x60], 1
test edi, edi
je 0x4bba56
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], 1
mov dl, byte [eax + 0x15]
cmp dl, 8
jae 0x4bba9f
xor ecx, ecx
mov dword [esp + 0x60], 1
add eax, 0x60
cmp dword [eax + 0x10], edi
je 0x4bba52
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4bba32
mov ecx, dword [esp + 0x10]
movzx eax, dl
mov dword [ecx + eax*4 + 0x18], edi
mov edi, ecx
inc byte [edi + 0x15]
jmp 0x4bba5a
mov byte [eax + 9], 1
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4bbb75
mov al, byte [edi + 0x15]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4bbb75
xor ecx, ecx
lea eax, [edi + 0x60]
nop word [eax + eax]
cmp dword [eax + 0x10], edx
je 0x4bbaa3
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4bba80
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
jmp 0x4bbb75
mov edi, eax
jmp 0x4bba5a
mov byte [eax + 9], 1
jmp 0x4bbb75
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b61b0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004aa570
mov edi, dword [ebp + 0xc]
jmp 0x4bcc8e
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
movlpd qword [esp + 0xb8], xmm0
mov dword [esp + 0x9c], edi
mov dword [esp + 0x4c], 0xffffffff
test ecx, ecx
je 0x4bbb6d
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x4bbb75
xor edi, edi
mov dword [esp + 0x54], eax
mov edx, dword [ecx + 0xc]
lea ecx, [esp + 0x9c]
mov edx, dword [edi + edx]
call fcn.004a89d0
test eax, eax
jne 0x4bbb4f
mov eax, dword [esp + 0x3c]
add edi, 0x14
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x54]
jl 0x4bbb22
jmp 0x4bbb75
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b61b0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004aa570
jmp 0x4bcca1
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x20]
xor ecx, ecx
test byte [edx + 0x22], 0x10
je 0x4bbbe5
mov eax, dword [edx + 0xc]
xor edi, edi
mov dword [esp + 0x38], edi
cmp eax, 2
jl 0x4bbc1f
mov ecx, dword [edx + 0x10]
lea edx, [eax - 2]
mov dword [esp + 0x14], ecx
add ecx, 0x2f
shr edx, 1
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
xor eax, eax
lea ecx, [ecx + 0x30]
cmp byte [ecx - 0x48], al
setne al
add edi, eax
xor eax, eax
cmp byte [ecx - 0x30], al
setne al
add dword [esp + 0x38], eax
sub edx, 1
jne 0x4bbbb0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0xc]
jl 0x4bbc40
xor ecx, ecx
mov eax, dword [esp + 0x38]
add eax, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x4bbd03
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4bbc61
mov eax, dword [edx + 0xc]
sub eax, ecx
cmp edi, eax
je 0x4bbc56
push edi
push eax
push 0
push dword [esp + 0x78]
push 0x523cfc
push dword [esp + 0x24]
call fcn.0048e330
add esp, 0x18
jmp 0x4bcc6e
test eax, eax
jle 0x4bbbdb
mov edx, dword [edx + 0x10]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x20]
setne cl
jmp 0x4bbbdd
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x20]
setne cl
jmp 0x4bbbdd
test edi, edi
jle 0x4bbc61
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4bbcc4
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov edi, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x74], eax
cmp dword [esi + 0x10], edi
jg 0x4bbc8c
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bbcc4
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + 0x44], ecx
push ecx
mov ecx, eax
call fcn.004bdc00
mov edx, dword [esp + 0x4c]
mov edi, eax
add esp, 8
cmp byte [edx + 0x1e], 0
lea ecx, [edi*4 + 4]
je 0x4bbe6a
mov dword [esp + 0x5c], 0
jmp 0x4bcc6e
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
je 0x4bbd26
push eax
push ecx
push 0x523d30
push dword [esp + 0x1c]
call fcn.0048e330
add esp, 0x10
jmp 0x4bcc6e
xor ecx, ecx
test eax, eax
jle 0x4bbd42
nop dword [eax]
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edi + 4]
cmp ecx, eax
jl 0x4bbd30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x4bbc61
mov eax, edi
xor edi, edi
mov dword [esp + 0x3c], edi
cmp edi, dword [edx + 0xc]
jge 0x4bbe14
mov eax, dword [eax]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
mov edx, dword [eax]
mov al, byte [ecx]
mov byte [esp + 0x27], al
test al, al
je 0x4bbdb9
mov edi, ecx
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov byte [esp + 0x27], al
movzx eax, al
mov al, byte [eax + 0x51e778]
cmp al, byte [ecx + 0x51e778]
jne 0x4bbdb5
mov al, byte [edi + edx + 1]
inc edx
mov byte [esp + 0x27], al
test al, al
jne 0x4bbd90
mov edi, dword [esp + 0x3c]
movzx eax, byte [edx]
mov edx, dword [esp + 0x20]
movzx ecx, byte [eax + 0x51e778]
movzx eax, byte [esp + 0x27]
movzx eax, byte [eax + 0x51e778]
sub eax, ecx
je 0x4bbdf6
mov eax, dword [esp + 0x38]
inc edi
mov ecx, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
cmp edi, dword [edx + 0xc]
jl 0x4bbd77
mov ecx, dword [esp + 0x2c]
jmp 0x4bbe0f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x58]
cmp edi, dword [edx + 8]
cmove eax, ecx
mov dword [esp + 0x58], eax
cmp edi, dword [edx + 0xc]
jl 0x4bbe33
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
mov ecx, edi
call fcn.004aaa10
test eax, eax
je 0x4bbe49
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [eax + 4]
jl 0x4bbd52
jmp 0x4bbc61
mov esi, dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x74]
push 0x523d4c
push esi
call fcn.0048e330
add esp, 0x14
inc dword [esi + 0x40]
jmp 0x4bcc6e
cmp byte [edx + 0xe2], 0
je 0x4bbf0f
movzx eax, word [edx + 0xe0]
cmp ecx, eax
jg 0x4bbf0f
mov eax, dword [edx + 0xec]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4bbf0f
mov eax, dword [eax]
mov dword [edx + 0xec], eax
mov eax, dword [edx + 0xe4]
inc eax
mov dword [edx + 0xe4], eax
cmp eax, dword [edx + 0xe8]
jle 0x4bbeb7
mov dword [edx + 0xe8], eax
mov edx, dword [esp + 0x5c]
xor ecx, ecx
test edi, edi
jle 0x4bbed7
mov esi, dword [esp + 0x10]
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x4bbec5
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
je 0x4bbf77
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x68], edi
cmp dword [esi + 0x10], edi
jg 0x4bbf32
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bbf2f
mov eax, dword [esi + 0xc]
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], eax
jmp 0x4bc040
push ecx
call fcn.0048be20
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
test edx, edx
jne 0x4bbebb
mov eax, dword [esp + 0x44]
mov byte [eax + 0x1e], 1
jmp 0x4bcc6e
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov byte [esi + 0x6e], 0
mov dword [esp + 0x64], eax
jmp 0x4bc040
cmp dword [ebp + 0xc], 0
je 0x4bc040
mov edx, dword [esi + 0xc]
mov eax, edx
mov edi, dword [esp + 0x84]
mov dword [esp + 0x64], edx
cmp dword [esi + 0x10], edx
jg 0x4bbfb2
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bbfab
mov dword [esp + 0x64], 1
jmp 0x4bbfe7
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x64]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov dword [esp + 0x68], edi
cmp dword [esi + 0x10], edi
jg 0x4bc008
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bc008
mov dword [esp + 0x68], 1
jmp 0x4bc040
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x48]
inc ecx
mov dword [edx + 0x48], ecx
lea eax, [ecx + 1]
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0xc]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x48], eax
test byte [ecx + 0x22], 0x10
je 0x4bc078
inc edi
inc eax
mov dword [esp + 0x18], edi
mov dword [edx + 0x48], eax
mov ecx, esi
call fcn.0049ce80
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
test byte [edx + 0x22], 0x10
je 0x4bc0e4
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4bc0a8
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc0e0
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
test eax, eax
js 0x4bc424
cmp dword [esp + 0x60], 0
je 0x4bc155
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4bc119
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc29e
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bc29e
cmp dword [ebp + 0xc], 0
je 0x4bc1bd
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4bc17d
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc29e
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], 0
add eax, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4bc29e
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
call fcn.004ac720
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x4bc23c
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4bc23c
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x10], eax
jg 0x4bc204
mov ecx, edi
call fcn.0049cd20
test eax, eax
jne 0x4bc23c
mov eax, dword [esp + 0x14]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4bc24d
mov eax, 0x536400
jmp 0x4bc26e
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x1e], 0
je 0x4bc262
mov eax, 0x536400
jmp 0x4bc26e
mov eax, dword [esi + 0x14]
add ecx, 0xffffffec
add eax, ecx
mov ecx, edi
je 0x4bc29c
cmp byte [eax], 0xa
mov ecx, edi
jne 0x4bc29c
mov edx, dword [esp + 0x20]
test byte [edx + 0x22], 0x10
mov edx, dword [esp + 0x18]
jne 0x4bc29c
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x35
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x4bc4d6
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], edx
test byte [ecx + 0x22], 0x10
mov ecx, edx
jne 0x4bc37c
cmp eax, edx
jg 0x4bc2d6
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bc2d0
mov dword [esp + 0x28], 1
jmp 0x4bc310
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bc32e
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc366
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
cmp edx, eax
jle 0x4bc3ca
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
jmp 0x4bc3ca
cmp eax, edx
jg 0x4bc391
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc3ca
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edx + 2]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4bc3e8
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc4de
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bc4de
test byte [edx + 0x22], 0x10
lea ecx, [esi + 0x10]
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x3c], eax
je 0x4bc48c
cmp ecx, eax
jg 0x4bc450
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc487
mov eax, dword [esp + 0x3c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
lea ecx, [esi + 0x10]
jmp 0x4bc4e5
cmp ecx, eax
jg 0x4bc49f
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc4d6
mov eax, dword [esp + 0x3c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov dword [esp + 0x50], 1
lea ecx, [esi + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], edx
cmp dword [eax + 0xc], edx
jle 0x4bc812
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x98], 0xffffffff
jmp 0x4bc524
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 8]
jne 0x4bc58c
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4bc550
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc7f1
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bc7f1
cmp dword [ebp + 0x10], 0
jne 0x4bc5c1
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x38]
mov cl, byte [eax + ecx + 0x17]
mov eax, dword [esp + 0x3c]
sub edx, eax
test cl, cl
cmovne edx, dword [esp + 0x98]
inc eax
test cl, cl
cmove eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
add eax, 4
jmp 0x4bc5fc
mov eax, dword [ebp + 0x10]
xor edx, edx
lea ecx, [eax + 4]
mov dword [esp + 0x48], edx
cmp dword [ecx], edx
jle 0x4bc60d
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
add eax, 4
nop word [eax + eax]
mov dword [esp + 0x14], ecx
cmp dword [eax], esi
je 0x4bc5f4
inc edx
mov dword [esp + 0x14], ecx
add eax, 8
cmp edx, dword [ecx]
jl 0x4bc5e0
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], edx
mov ecx, eax
test edx, edx
js 0x4bc75e
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x54], 0
je 0x4bc75e
test eax, eax
je 0x4bc624
cmp edx, dword [ecx]
jge 0x4bc75e
cmp dword [esp + 0x60], 0
je 0x4bc688
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4bc64c
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc7f1
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bc7f1
cmp dword [ebp + 0xc], 0
je 0x4bc6ef
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4bc6af
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc7f1
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], 0
add eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4bc7f1
mov eax, dword [ebp + 8]
lea ecx, [edx + edx*4]
push dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
call fcn.004ac720
add esp, 4
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x18]
je 0x4bc7f1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4bc7f1
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], eax
cmp dword [edx + 0x10], eax
jg 0x4bc74f
mov ecx, edx
call fcn.0049cd20
test eax, eax
jne 0x4bc7f1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x7c]
jmp 0x4bc7c2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ecx + 4]
mov ecx, dword [esp + 0x14]
call fcn.004ac720
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x18]
je 0x4bc7f1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4bc7f1
mov eax, dword [edx + 0xc]
mov dword [esp + 0x7c], eax
cmp dword [edx + 0x10], eax
jg 0x4bc7b5
mov ecx, edx
call fcn.0049cd20
test eax, eax
jne 0x4bc7f1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
inc edx
add dword [esp + 0x38], 0x18
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edx
cmp edx, dword [ecx + 0xc]
jl 0x4bc520
jmp 0x4bc814
mov ecx, eax
test byte [ecx + 0x22], 0x10
je 0x4bc8d4
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4bc83f
mov edx, dword [esp + 0x44]
nop dword [eax]
cmp dword [eax], edx
je 0x4bc83b
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4bc830
mov dword [esp + 0x50], eax
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.004cffb0
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0xc]
add eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
cmp dword [eax], edx
jg 0x4bc87c
mov ecx, esi
call fcn.0049cd20
test eax, eax
je 0x4bc878
mov edx, 1
jmp 0x4bc8b7
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [edi]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x81
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff6
push dword [esp + 0x54]
mov ecx, esi
call fcn.0049d380
mov eax, dword [esp + 0x18]
add esp, 8
mov byte [eax + 0x159], 1
jmp 0x4bc932
lea eax, [esp + 0x30]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x60]
push dword [ebp + 0x14]
not eax
push 0
shr eax, 0x1f
push eax
push dword [esp + 0x70]
push dword [esp + 0x44]
push dword [esp + 0x5c]
call fcn.004bcd70
mov edx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x50], eax
mov ecx, dword [esp + 0x30]
sete al
push eax
push dword [esp + 0x74]
push 0
push dword [esp + 0x88]
push dword [esp + 0x5c]
push dword [esp + 0x74]
call fcn.004bd9a0
add esp, 0x38
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4bc990
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bc959
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bc990
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4bc9a8
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
cmp dword [esp + 0x60], 0
je 0x4bca7a
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x30], ecx
cmp dword [edx], ecx
jg 0x4bc9d4
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bca0c
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x4bca20
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bca41
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bcaed
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bcaed
cmp dword [ebp + 0xc], 0
je 0x4bcaed
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x30], ecx
cmp dword [edx], ecx
jg 0x4bcaa1
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bcad9
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x4bcaed
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x20]
test byte [eax + 0x22], 0x10
jne 0x4bcbd8
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bcb18
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bcb51
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bcb55
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4bcbd8
inc edx
mov dword [esp + 0x50], edx
nop dword [eax]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bcb91
mov ecx, esi
call fcn.0049cd20
mov edx, dword [esp + 0x50]
test eax, eax
jne 0x4bcbc4
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x50], edx
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4bcb70
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4bcc6e
cmp byte [edi + 0x13], 0
jne 0x4bcc6e
cmp dword [edi + 0x1a4], 0
jne 0x4bcc6e
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4bcc0c
mov ecx, esi
call fcn.0049cd20
test eax, eax
jne 0x4bcc44
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, 1
mov ecx, esi
call fcn.0049d8d0
mov eax, dword [esi]
cmp byte [eax + 0x1e], 0
jne 0x4bcc6e
mov ecx, dword [esi + 0x28]
mov edx, 0x523d6c
push 0
push 1
push 0xffffffffffffffff
call fcn.0049c050
add esp, 0xc
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b61b0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004aa570
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4bcca1
mov edx, edi
mov ecx, esi
call fcn.004c3030
push edi
push esi
call fcn.0048bf10
add esp, 8
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.004b5b50
mov edi, dword [esp + 0x5c]
test esi, esi
je 0x4bcce5
test edi, edi
je 0x4bcd5b
cmp edi, dword [esi + 0xf0]
jb 0x4bcce9
cmp edi, dword [esi + 0xf4]
jae 0x4bcce9
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4bcd5b
cmp dword [0x533ce8], 0
je 0x4bcd51
mov eax, dword [0x536530]
test eax, eax
je 0x4bcd05
push eax
call dword [0x533d30]
add esp, 4
push edi
call dword [0x533d0c]
mov ecx, dword [0x5363b8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5363dc]
cmp ecx, eax
mov dword [0x5363b8], ecx
cmovg eax, ecx
push edi
mov dword [0x5363dc], eax
call dword [str.GdipSaveImageToFile]
mov eax, dword [0x536530]
add esp, 4
test eax, eax
je 0x4bcd5b
push eax
call dword [0x533d38]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [str.GdipSaveImageToFile]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret