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

Disassembly:
sub esp, 0x3e0
mov eax, dword [esp + 0x3e4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x30], esi
call fcn.0044ad80
mov edi, dword [esi + 8]
lea ebp, [esi + 0x54]
mov ecx, ebp
call fcn.004cafa0
xor ebx, ebx
cmp edi, ebx
mov dword [ebp], edi
je 0x4d004a
mov dword [ebp], edi
imul edi, edi, 0x1878
push edi
call fcn.00514cc0
add esp, 4
mov dword [ebp + 4], eax
jmp 0x4d004d
mov dword [ebp + 4], ebx
cmp dword [esi + 8], ebx
jle 0x4d0bef
mov dword [esp + 0x14], ebx
lea ebx, [ebx]
test ebx, ebx
jl 0x4d1955
cmp ebx, dword [ebp]
jge 0x4d1955
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
add ecx, edi
cmp ebx, eax
jge 0x4d1929
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add ecx, 0x60
push ecx
add eax, edx
push str.IDSOUND
push eax
mov ecx, 0x578140
call fcn.0044a610
cmp ebx, dword [ebp]
jge 0x4d18fd
mov ecx, dword [ebp + 4]
mov eax, dword [esi + 0x40]
add ecx, edi
cmp ebx, eax
jge 0x4d18d1
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add ecx, 0x40
push ecx
add eax, edx
push 0x524730
push eax
mov ecx, 0x578140
call fcn.0044a610
cmp ebx, dword [esi + 0x40]
jge 0x4d18a5
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add eax, edx
push str.DAMAGE
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d1877
mov edx, dword [ebp + 4]
fstp dword [edx + edi + 0x80]
mov eax, dword [esi + 0x40]
cmp ebx, eax
jge 0x4d184b
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add eax, edx
push str.RADIUS
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d181d
mov ecx, dword [ebp + 4]
fstp dword [ecx + edi + 0x84]
mov eax, dword [ebp]
cmp ebx, eax
jge 0x4d17f1
mov edx, dword [ebp + 4]
fld dword [edx + edi + 0x84]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x44
jp 0x4d0188
cmp ebx, dword [ebp]
jge 0x4d0da2
mov eax, edx
mov dword [eax + edi + 0x84], 0x41200000
cmp ebx, dword [esi + 0x40]
jge 0x4d17c5
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add eax, edx
push str.IMPULSE
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d1797
mov edx, dword [ebp + 4]
fstp dword [edx + edi + 0x88]
mov eax, dword [esi + 0x40]
cmp ebx, eax
jge 0x4d176b
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add eax, edx
push str.LIGHTRADIUS
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d173d
mov ecx, dword [ebp + 4]
fstp dword [ecx + edi + 0x90]
mov eax, dword [ebp]
cmp ebx, eax
jge 0x4d1711
mov edx, dword [ebp + 4]
fld dword [edx + edi + 0x90]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x44
jnp 0x4d0223
mov eax, 1
jmp 0x4d0225
xor eax, eax
cmp ebx, dword [ebp]
jge 0x4d16e5
mov ecx, dword [ebp + 4]
mov byte [ecx + edi + 0x8c], al
cmp ebx, dword [esi + 0x40]
jge 0x4d16b9
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
add eax, edx
push str.LIGHTCOLOR
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
mov dword [esp + 0x10], eax
jge 0x4d168d
mov ecx, eax
shr ecx, 0x10
mov edx, eax
and edx, 0xff
movzx ecx, cl
shl edx, 0x10
or ecx, edx
mov edx, dword [esp + 0x14]
and eax, 0xff00ff00
or ecx, eax
mov eax, dword [ebp + 4]
xor edi, edi
mov dword [eax + edx + 0x94], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov edi, edi
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.NAME_d
push ecx
call dword [0x5212a0]
mov eax, dword [ebp]
add esp, 0xc
cmp ebx, eax
jge 0x4d1661
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
add ecx, edx
cmp ebx, eax
jge 0x4d162f
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [edi + ecx + 0x98]
add eax, edx
push ecx
lea edx, [esp + 0x174]
push edx
push eax
mov ecx, 0x578140
call fcn.0044a610
cmp ebx, dword [ebp]
jge 0x4d1603
mov eax, dword [str._DEFAULT_]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], eax
add ecx, dword [esp + 0x14]
lea eax, [ecx + edi + 0x98]
mov dl, byte [eax]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x23], dl
cmp dl, byte [ecx]
jne 0x4d035d
mov cl, dl
test cl, cl
je 0x4d0359
mov dl, byte [eax + 1]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x23], dl
cmp dl, byte [ecx + 1]
jne 0x4d035d
mov edx, ecx
mov cl, byte [esp + 0x23]
add edx, 2
add eax, 2
test cl, cl
mov dword [esp + 0x1c], edx
jne 0x4d0321
xor eax, eax
jmp 0x4d0362
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d0399
cmp ebx, dword [ebp]
jge 0x4d0dce
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 4]
add edx, eax
mov eax, dword [esp + 0x10]
lea esi, [edx + eax + 0x98]
mov edi, 0x52145c
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x2c]
mov edi, eax
jne 0x4d03c3
cmp ebx, dword [ebp]
jge 0x4d15d7
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, ecx
push 0xa
lea ecx, [eax + edi + 0x98]
push ecx
push edx
call dword [0x5211f0]
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.NTEX_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d15a8
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d157c
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov dword [edx + edi + 0xbc], eax
cmp ebx, dword [ebp]
jge 0x4d1550
mov eax, dword [ebp + 4]
add eax, ecx
mov edx, dword [eax + edi + 0xbc]
test edx, edx
jne 0x4d0453
cmp ebx, dword [ebp]
jge 0x4d0dfa
mov edx, dword [ebp + 4]
add edx, ecx
mov dword [edx + edi + 0xbc], 1
mov dword [esp + 0x1c], 0
jmp 0x4d0460
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x16c]
jne 0x4d0485
push eax
push str.TEXTURE_d
push ecx
call dword [0x5212a0]
add esp, 0xc
jmp 0x4d049a
mov edx, dword [esp + 0x1c]
push edx
push eax
push str.TEXTURE_d__d
push ecx
call dword [0x5212a0]
add esp, 0x10
cmp ebx, dword [ebp]
jge 0x4d0e58
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
add ecx, edx
cmp ebx, eax
jge 0x4d0e26
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
add eax, dword [esi + 0x34]
mov edx, dword [esp + 0x1c]
add edx, 6
shl edx, 5
add edx, ecx
push ebx
add edx, edi
push edx
lea ecx, [esp + 0x174]
push ecx
push eax
mov ecx, 0x578140
call fcn.0044a610
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jl 0x4d0460
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x170]
push str.TYPE_d
push eax
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d1524
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [esi + 0x34]
push ebx
lea edx, [esp + 0x170]
add eax, ecx
push edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d14f8
mov ecx, dword [ebp + 4]
add ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
mov dword [ecx + edi + 0xb8], eax
lea eax, [esp + 0x170]
push str.DELAY_d
push eax
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d14cc
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [esi + 0x34]
push ebx
lea edx, [esp + 0x170]
add eax, ecx
push edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d149e
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp dword [eax + edi + 0x200]
push ecx
lea edx, [esp + 0x170]
push str.DURATION_d
push edx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d146c
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d143e
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, ecx
fstp dword [edx + edi + 0x204]
mov eax, dword [ebp]
cmp ebx, eax
jge 0x4d1412
mov eax, dword [ebp + 4]
add eax, ecx
fld dword [eax + edi + 0x204]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x44
jp 0x4d0648
cmp ebx, dword [ebp]
jge 0x4d0e8a
mov edx, dword [ebp + 4]
add edx, ecx
mov dword [edx + edi + 0x204], 0x3f800000
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.SCALE_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d13e6
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d13b8
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, ecx
fstp dword [edx + edi + 0x210]
mov eax, dword [ebp]
cmp ebx, eax
jge 0x4d138c
mov eax, dword [ebp + 4]
add eax, ecx
fld dword [eax + edi + 0x210]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x44
jp 0x4d06e3
cmp ebx, dword [ebp]
jge 0x4d0eb6
mov edx, dword [ebp + 4]
add edx, ecx
mov dword [edx + edi + 0x210], 0x3f800000
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.XSTATE_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d1360
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d1334
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov dword [edx + edi + 0x208], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.YSTATE_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d1302
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d12d6
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov dword [edx + edi + 0x20c], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.MAPCOLOR_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d12aa
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d127e
mov ecx, dword [esp + 0x14]
test eax, eax
mov eax, dword [ebp + 4]
setne dl
add eax, ecx
mov ecx, dword [esp + 0x18]
push ecx
mov byte [eax + edi + 0x214], dl
lea edx, [esp + 0x170]
push str.SPEED_d
push edx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d124c
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d121e
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp dword [edx + edi + 0x218]
push eax
lea ecx, [esp + 0x170]
push str.NUM_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d11ec
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d11c0
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov dword [edx + edi + 0x21c], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.SHIFT_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d118e
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d1160
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp dword [edx + edi + 0x220]
push eax
lea ecx, [esp + 0x170]
push str.OPACITY_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d112e
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d1100
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp dword [edx + edi + 0x224]
push eax
lea ecx, [esp + 0x170]
push str.HIDETIME_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d10d4
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044a670
cmp ebx, dword [ebp]
jge 0x4d10a6
mov edx, dword [ebp + 4]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp dword [edx + edi + 0x228]
push eax
lea ecx, [esp + 0x170]
push str.ID1__d
push ecx
call dword [0x5212a0]
mov eax, dword [ebp]
add esp, 0xc
cmp ebx, eax
jge 0x4d107a
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
add ecx, edx
cmp ebx, eax
jge 0x4d104e
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [ecx + edi + 0x22c]
add eax, edx
push ecx
lea edx, [esp + 0x174]
push edx
push eax
mov ecx, 0x578140
call fcn.0044a610
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.NMODEL_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d101c
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d0ff0
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov dword [edx + edi + 0x24c], eax
cmp ebx, dword [ebp]
jge 0x4d0fc4
mov eax, dword [ebp + 4]
add eax, ecx
mov edx, dword [eax + edi + 0x24c]
test edx, edx
jne 0x4d0abb
cmp ebx, dword [ebp]
jge 0x4d0ee2
mov edx, dword [ebp + 4]
add edx, ecx
mov dword [edx + edi + 0x24c], 1
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x16c]
jne 0x4d0ae8
push eax
push str.MODEL_d
push ecx
call dword [0x5212a0]
add esp, 0xc
jmp 0x4d0afd
mov edx, dword [esp + 0x1c]
push edx
push eax
push str.MODEL_d__d
push ecx
call dword [0x5212a0]
add esp, 0x10
cmp ebx, dword [ebp]
jge 0x4d0f40
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
add ecx, edx
cmp ebx, eax
jge 0x4d0f0e
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
add eax, dword [esi + 0x34]
mov edx, dword [esp + 0x1c]
shl edx, 5
add edx, ecx
push ebx
lea ecx, [edx + edi + 0x250]
push ecx
lea edx, [esp + 0x174]
push edx
push eax
mov ecx, 0x578140
call fcn.0044a610
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jl 0x4d0ac3
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x170]
push str.XTYPE_d
push ecx
call dword [0x5212a0]
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp ebx, eax
jge 0x4d0f98
mov edx, dword [esi + 0x44]
mov eax, dword [edx + ebx*4]
mov edx, dword [esi + 0x34]
push ebx
lea ecx, [esp + 0x170]
push ecx
add eax, edx
push eax
mov ecx, 0x578140
call fcn.0044aa90
cmp ebx, dword [ebp]
jge 0x4d0f6c
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov dword [edx + edi + 0x390], eax
mov edx, dword [esp + 0x18]
add edi, 0x2fc
inc edx
cmp edi, 0x17e0
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
jl 0x4d02a0
mov eax, dword [esi + 8]
inc ebx
add ecx, 0x1878
cmp ebx, eax
mov dword [esp + 0x14], ecx
jl 0x4d0060
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [esp + 0x18], ebx
jle 0x4d0d95
xor edi, edi
mov edi, edi
mov dword [esp + 0x14], 0
jmp 0x4d0c10
mov dword [esp + 0x10], 0xc0
test edi, edi
jl 0x4d19ad
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp]
jge 0x4d19ad
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
add eax, edi
cmp ecx, edx
jge 0x4d1981
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 4]
add ecx, edx
mov dword [esp + 0x38], ecx
add ecx, eax
push ecx
mov ecx, dword [0x5b7468]
add ecx, 0x30
add ebx, edi
call fcn.00404620
mov edx, dword [esp + 0x38]
mov dword [edx + ebx], eax
mov eax, dword [esp + 0x10]
add eax, 0x20
cmp eax, 0x200
mov dword [esp + 0x10], eax
jl 0x4d0c18
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp]
jge 0x4d1a5d
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
add eax, edi
cmp ecx, edx
jge 0x4d1a31
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 4]
lea edx, [ecx + eax + 0x22c]
push edx
lea ecx, [esi + 0x30]
add ebx, edi
call fcn.00404620
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx + 0x22c], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
jmp 0x4d0cd0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp]
jge 0x4d1a05
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
add eax, edi
cmp ecx, edx
jge 0x4d19d9
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 4]
lea edx, [ecx + eax + 0x250]
mov ecx, dword [0x5b7470]
push edx
add ecx, 0x30
add ebx, edi
call fcn.00404620
mov ecx, dword [esp + 0x10]
mov dword [ecx + ebx + 0x250], eax
mov eax, dword [esp + 0x1c]
inc eax
add ecx, 0x20
cmp eax, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jl 0x4d0cd0
mov eax, dword [esp + 0x14]
add eax, 0x2fc
cmp eax, 0x17e0
mov dword [esp + 0x14], eax
jl 0x4d0c10
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp]
jge 0x4d1ab5
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
add eax, edi
cmp ecx, edx
jge 0x4d1a89
mov ecx, dword [0x5b747c]
mov ebx, dword [ebp + 4]
add eax, 0x60
push eax
add ecx, 0x5c
add ebx, edi
call fcn.00404620
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
inc eax
add edi, 0x1878
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4d0c00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3e0
ret 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xd4]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xd4]
mov dword [esp + 0x30], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0xd4]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x1f0]
push edx
call fcn.00514dd6
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x394]
mov dword [esp + 0xa0], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x394]
push ecx
call fcn.00514dd6
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x340]
mov dword [esp + 0xa4], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x340]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34c]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x34c]
push edx
call fcn.00514dd6
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x1fc]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x238]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x238]
push eax
call fcn.00514dd6
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x2b0]
mov dword [esp + 0xa8], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x2b0]
push edx
call fcn.00514dd6
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x310]
mov dword [esp + 0x70], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x310]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x328]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x328]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x54], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0xb0]
push edx
call fcn.00514dd6
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x54], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xb0]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x358]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x358]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x370]
mov dword [esp + 0x98], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x370]
push edx
call fcn.00514dd6
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x388]
mov dword [esp + 0x6c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x388]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x3a0]
mov dword [esp + 0x74], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x3a0]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
fstp st(0)
push ecx
lea ecx, [esp + 0x3b8]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x3b8]
push edx
call fcn.00514dd6
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x3d0]
mov dword [esp + 0x7c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x3d0]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
fstp st(0)
push edx
lea ecx, [esp + 0x3e8]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x3e8]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x3ac]
mov dword [esp + 0x84], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x3ac]
push edx
call fcn.00514dd6
lea eax, [esp + 0x10]
fstp st(0)
push eax
lea ecx, [esp + 0x214]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x214]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x304]
mov dword [esp + 0x8c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x304]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x22c]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x22c]
push edx
call fcn.00514dd6
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x37c]
mov dword [esp + 0x94], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x37c]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
fstp st(0)
push edx
lea ecx, [esp + 0x244]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x244]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x31c]
mov dword [esp + 0x9c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x31c]
push edx
call fcn.00514dd6
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x25c]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x25c]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x3dc]
mov dword [esp + 0x64], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x3dc]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x274]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x274]
push edx
call fcn.00514dd6
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x334]
mov dword [esp + 0xac], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x334]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x28c]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x28c]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0xbc]
push edx
call fcn.00514dd6
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xbc]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
fstp st(0)
push edx
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x2a4]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0x34], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x128]
push edx
call fcn.00514dd6
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x34], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x128]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
fstp st(0)
push edx
lea ecx, [esp + 0x2bc]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x2bc]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x3c4]
mov dword [esp + 0x90], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x3c4]
push edx
call fcn.00514dd6
lea eax, [esp + 0x10]
fstp st(0)
push eax
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x2d4]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x364]
mov dword [esp + 0x78], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x364]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2ec]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x2ec]
push edx
call fcn.00514dd6
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xf8]
mov dword [esp + 0x5c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xf8]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x5c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0xf8]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x208]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x208]
push edx
call fcn.00514dd6
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x220]
mov dword [esp + 0x80], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x220]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x158]
mov dword [esp + 0x44], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x158]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x158]
mov dword [esp + 0x44], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x158]
push edx
call fcn.00514dd6
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x250]
mov dword [esp + 0x88], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x250]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x268]
mov dword [esp + 0x68], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x268]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x280]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x280]
push edx
call fcn.00514dd6
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x298]
mov dword [esp + 0x2c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x298]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x110]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x110]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x2c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x110]
push edx
call fcn.00514dd6
lea eax, [esp + 0x10]
fstp st(0)
push eax
lea ecx, [esp + 0x2c8]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x2c8]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x2e0]
mov dword [esp + 0x4c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x2e0]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
fstp st(0)
push ecx
lea ecx, [esp + 0x2f8]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x2f8]
push edx
call fcn.00514dd6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x140]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x140]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x140]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x140]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x10]
fstp st(0)
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0xc8]
push edx
call fcn.00514dd6
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x40], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xec]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x10]
fstp st(0)
push edx
lea ecx, [esp + 0x104]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x104]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x48], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x11c]
push edx
call fcn.00514dd6
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x50], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x134]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x14c]
mov dword [esp + 0x58], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x14c]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x164]
mov dword [esp + 0x60], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x164]
push edx
call fcn.00514dd6
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x3c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xe0]
push ecx
call fcn.00514dd6
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x60], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xe0]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x164]
mov dword [esp + 0x58], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x164]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14c]
mov dword [esp + 0x50], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x14c]
push edx
call fcn.00514dd6
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x48], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x134]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x40], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x11c]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x104]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x104]
push edx
call fcn.00514dd6
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x4c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0xec]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x2c], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0xc8]
push eax
call fcn.00514dd6
int3