Function at 0x4b37a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a96b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push str.Tue_Jun_16_19:26:23_2015
push 0x150
push str.CMagic::DrawLight
push str.GameProcessMagic.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0x3a]
add ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov word [edx + 0x3a], cx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 8]
cmp ecx, 0x16
je 0x4b3881
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
cmp eax, 0x10
je 0x4b3881
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 8]
cmp edx, 9
je 0x4b3881
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 8]
cmp ecx, 0x1e
je 0x4b3881
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
cmp eax, 0xfe
je 0x4b3881
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 8]
cmp edx, 0xb
je 0x4b3881
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 8]
cmp ecx, 0x35
je 0x4b3881
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 8]
cmp eax, 0x6e
je 0x4b3881
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 8]
cmp edx, 0x72
je 0x4b3881
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 8]
cmp ecx, 0x97
jne 0x4b3a28
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x4b38d0
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0x3a]
cmp edx, 0xc8
jle 0x4b38cb
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x79]
add al, 1
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x79], al
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x79]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x5a]
cmp eax, edx
jle 0x4b38cb
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x79], 0
jmp 0x4b3a23
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
cmp edx, 1
jne 0x4b3a23
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x79], 0
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x42]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x42], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x42]
cmp edx, 2
jg 0x4b390a
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x42], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x43]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x43], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x43]
cmp edx, 2
jg 0x4b392d
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x43], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x44]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x44], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x44]
cmp edx, 2
jg 0x4b3950
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x44], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x45]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x45], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x45]
cmp edx, 2
jg 0x4b3973
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x45], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x46]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x46], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x46]
cmp edx, 2
jg 0x4b3996
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x46], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x47]
sub edx, 2
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x47], dl
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x47]
cmp edx, 2
jg 0x4b39b9
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x47], 2
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x42]
cmp edx, 2
jne 0x4b3a23
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x43]
cmp ecx, 2
jne 0x4b3a23
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x44]
cmp eax, 2
jne 0x4b3a23
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x45]
cmp edx, 2
jne 0x4b3a23
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x46]
cmp ecx, 2
jne 0x4b3a23
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x47]
cmp eax, 2
jne 0x4b3a23
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 4], 2
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x19]
jmp 0x4b3c52
jmp 0x4b3aee
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x3a]
cmp eax, 0xc8
jle 0x4b3aee
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
test edx, edx
jne 0x4b3a77
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x79]
add al, 1
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x79], al
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x79]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x5a]
cmp eax, edx
jle 0x4b3a75
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x79], 0
jmp 0x4b3aee
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
cmp edx, 1
jne 0x4b3aee
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x79], 0
mov ecx, 0x96
mov edx, dword [ebp - 0x20]
mov word [edx + 0x3a], cx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x40]
cmp ecx, 1
jle 0x4b3ac0
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x40]
sub al, 1
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x40], al
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x41]
sub al, 1
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x41], al
jmp 0x4b3aee
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x40]
cmp eax, 1
jg 0x4b3aee
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 4], 2
mov byte [ebp - 0x1a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x1a]
jmp 0x4b3c52
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x7a]
test eax, eax
jne 0x4b3b14
mov byte [ebp - 0x1b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x1b]
jmp 0x4b3c52
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x4b3b2f
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 4]
cmp ecx, 1
jne 0x4b3c3c
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 6]
test eax, eax
jne 0x4b3baf
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x47]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x46]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x45]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x41]
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x79]
add edx, ecx
push edx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x44]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x43]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x42]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x40]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x79]
add eax, edx
push eax
mov eax, dword [ebp - 0x20]
movsx ecx, word [eax + 0x1a]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x20]
movsx eax, word [edx + 0x18]
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
call fcn.004b1120
jmp 0x4b3c3c
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0x26]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
call fcn.004bd180
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x47]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x46]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x45]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x41]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x79]
add eax, edx
push eax
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x44]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x43]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x42]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x40]
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x79]
add ecx, eax
push ecx
movsx ecx, word [ebp - 0x18]
add ecx, 0x10
push ecx
movsx edx, word [ebp - 0x14]
add edx, 0x18
push edx
mov ecx, dword [ebp + 8]
call fcn.004b1120
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8