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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
xor eax, eax
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov bl, byte [edi + 0x17]
push ebp
push edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], eax
call fcn.004ec7b0
add esp, 8
test eax, eax
jne 0x4edcbf
push ebp
push edi
call fcn.004b09d0
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x4ecee7
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x4ecef3
mov eax, dword [eax + 0x14]
mov ebp, dword [eax]
jmp 0x4ecf07
cmp cl, 0x8a
jne 0x4ecf02
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax]
jmp 0x4ecf07
mov ebp, 1
mov eax, dword [edi]
push esi
lea esi, [ebp*4 + 1]
mov dword [esp + 0x1c], ebp
add esi, ebp
push 0
push esi
test eax, eax
je 0x4ecf2f
push eax
call fcn.004e9850
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
jmp 0x4ecf3d
call fcn.00500100
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, eax
test ecx, ecx
je 0x4ecf51
push esi
push 0
push ecx
call sub.MSVCRT.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4edb3c
mov esi, dword [edi + 8]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x58]
push ecx
neg eax
lea ecx, [esp + 0x44]
sbb eax, eax
and eax, ecx
push eax
push 3
push dword [esp + 0x5c]
push edi
call fcn.004f1440
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x40]
push eax
push edi
mov byte [edi + 0x17], 0
call fcn.004b0490
add esp, 0x24
mov dword [esp + 0x34], eax
xor ecx, ecx
mov byte [edi + 0x17], bl
test ebp, ebp
jle 0x4ecfbf
mov eax, dword [esp + 0x20]
cmp dword [eax + ecx*4], ecx
jne 0x4ecfbb
inc ecx
cmp ecx, ebp
jl 0x4ecfb1
mov eax, dword [esp + 0x34]
cmp ecx, ebp
jne 0x4ecfce
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x4ed055
push ebp
push edi
call fcn.004fb720
add esp, 8
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x14], ecx
test ebp, ebp
jle 0x4ed055
mov ebp, dword [esp + 0x34]
mov edi, eax
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + ebx*4]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x4ed012
push 0
push edx
push ebp
push 0x4f
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed041
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
inc ebp
cmp ebx, dword [esp + 0x1c]
jl 0x4ecff0
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x38], 5
jne 0x4ed488
dec dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebx
push dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
push edi
mov dword [esp + 0x2c], ecx
call fcn.004ef020
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x50]
je 0x4ed0fc
mov al, byte [edi + 0x13]
test al, al
jne 0x4ed0a2
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4ed0b1
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], ebx
cmp dword [esi + 0x78], ecx
jg 0x4ed0d1
mov eax, dword [esp + 0x14]
push ebx
push eax
push eax
push 0x66
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed0fc
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
cmp dword [eax], 0
jle 0x4ed395
lea ecx, [eax + 8]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x40]
push eax
push dword [ecx]
push edi
call fcn.004eef00
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0x30], ebx
je 0x4ed18e
mov eax, dword [esp + 0x28]
push dword [eax]
call fcn.004ec6d0
add esp, 4
test eax, eax
je 0x4ed18e
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed163
mov eax, dword [esp + 0x48]
push eax
push ebx
push eax
push 0x66
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed18e
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4ed1aa
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4ed1aa
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
dec eax
cmp dword [esp + 0x4c], eax
jl 0x4ed2a2
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x50]
jne 0x4ed2a2
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x32]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], edx
jg 0x4ed1fc
push ebx
mov ebx, dword [esp + 0x54]
push ebx
push ecx
push eax
push esi
call fcn.004c7840
add esp, 0x14
mov edx, eax
jmp 0x4ed23b
mov ebx, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ed251
push ebp
push 0xfffffffffffffffe
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x4ed283
test edx, edx
jns 0x4ed259
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4ed278
push 0xfffffffffffffffe
push ebp
push eax
push esi
call fcn.0052c640
add esp, 0x10
jmp 0x4ed283
test ebp, ebp
je 0x4ed283
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov ecx, dword [esi + 0x74]
test ecx, ecx
jle 0x4ed375
mov eax, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov al, byte [eax]
or al, 0x10
movsx dx, al
jmp 0x4ed36d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x33]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], edx
jg 0x4ed2d4
push ebx
push dword [esp + 0x20]
push ecx
push eax
push esi
call fcn.004c7840
add esp, 0x14
mov edx, eax
jmp 0x4ed313
mov ebx, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ed329
push ebp
push 0xfffffffffffffffe
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x4ed35b
test edx, edx
jns 0x4ed331
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4ed350
push 0xfffffffffffffffe
push ebp
push eax
push esi
call fcn.0052c640
add esp, 0x10
jmp 0x4ed35b
test ebp, ebp
je 0x4ed35b
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4ed375
mov ecx, dword [esp + 0x2c]
movsx dx, byte [ecx]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x28]
add ecx, 0x14
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [edx]
jl 0x4ed118
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4ed43c
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed3bd
push 0
push dword [esp + 0x58]
push ebx
push 0x32
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed3ec
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed409
push 0
push dword [esp + 0x54]
push 0
push 0xb
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed43c
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ed45a
push edx
push esi
push ecx
call fcn.004d98e0
add esp, 0xc
jmp 0x4ed463
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
test ebx, ebx
je 0x4edb1a
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4edb1a
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
jmp 0x4edb1a
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x54], edx
jne 0x4ed498
mov dword [esp + 0x28], edx
jmp 0x4ed4a6
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
test ebp, ebp
jle 0x4ed58b
mov ebp, ecx
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx]
mov byte [esp + 0x13], al
cmp al, 0xb0
jne 0x4ed4d4
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4ed4df
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
jmp 0x4ed4eb
cmp al, 0x8a
jne 0x4ed50a
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4ed50a
cmp byte [esp + 0x13], 0x8a
je 0x4ed503
cmp byte [ecx + 2], 0x8a
je 0x4ed503
mov ecx, dword [ebx + edx + 8]
jmp 0x4ed50a
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ebx + 8]
cmp dword [edi + 0x24], 0
jne 0x4edb3c
push ecx
call fcn.004ec6d0
add esp, 4
test eax, eax
je 0x4ed56c
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed53d
push 0
push dword [esp + 0x2c]
push ebp
push 0x32
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed56c
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x30]
add ebx, 0x14
inc edx
inc ebp
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x1c]
jl 0x4ed4c0
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x38], 1
jne 0x4ed63a
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4ed5b5
push dword [esp + 0x14]
push edx
push ebx
push 0x20
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed5e0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4ed602
push 0
push 0
push 0
push 0xb
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed6c6
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4ed6ca
mov edx, dword [esi + 0x74]
mov ebx, dword [esp + 0x14]
cmp dword [esi + 0x78], edx
jg 0x4ed659
push 0
push ebp
push ebx
push 0x5f
push esi
call fcn.004c7840
add esp, 0x14
mov edx, eax
jmp 0x4ed684
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebp
push dword [esp + 0x30]
push edx
push esi
call fcn.005132c0
mov eax, dword [esp + 0x60]
add esp, 0x10
push ebp
push ebx
cmp eax, dword [esp + 0x5c]
jne 0x4ed6b4
push eax
push dword [esp + 0x24]
push 0x1e
push esi
call fcn.00512ed0
add esp, 0x18
jmp 0x4edb1a
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x1f
push esi
call fcn.00512ed0
add esp, 0x18
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4ed726
cmp ebp, 1
jne 0x4ed726
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed6f3
push 0
push dword [esp + 0x54]
push edx
push 0x33
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed726
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
jne 0x4ed77d
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed74a
push 0
push eax
push 0
push 0xb
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed77d
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 edx, dword [esp + 0x40]
test edx, edx
je 0x4ed7a8
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ed79f
push edx
push esi
push ecx
call fcn.004d98e0
add esp, 0xc
jmp 0x4ed7a8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x38], edx
cmp dword [esi + 0x78], edx
jg 0x4ed7d0
push 0
push dword [esp + 0x54]
push ebx
push 0x26
push esi
call fcn.004c7840
mov edx, dword [esp + 0x64]
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x4ed7ff
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp ebp, 1
jle 0x4ed810
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], eax
jmp 0x4ed814
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], 0
test ebp, ebp
jle 0x4ed9d8
xor ebx, ebx
mov dword [esp + 0x40], ebx
lea ebx, [ebx]
mov al, byte [edi + 0x13]
test al, al
jne 0x4ed83f
inc dword [edi + 0x2c]
mov ebp, dword [edi + 0x2c]
jmp 0x4ed84e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebp, dword [edi + eax*4 + 0x98]
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx]
mov al, dl
cmp al, 0xb0
jne 0x4ed85d
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4ed868
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx]
jmp 0x4ed874
cmp al, 0x8a
jne 0x4ed89b
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4ed897
cmp dl, 0x8a
je 0x4ed88e
mov eax, dword [esp + 0x24]
cmp byte [eax + 2], 0x8a
je 0x4ed88e
mov eax, dword [ecx + ebx + 8]
jmp 0x4ed89d
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + ebx + 8]
jmp 0x4ed89d
mov ecx, dword [esp + 0x24]
mov eax, ecx
push eax
push edi
call fcn.004ef020
mov ecx, dword [esi + 0x74]
add esp, 8
mov ebx, eax
cmp dword [esi + 0x78], ecx
jg 0x4ed8c8
mov edx, dword [esp + 0x4c]
push ebp
push edx
push dword [esp + 0x20]
push 0x5d
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4ed8f7
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4ed91c
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
push ebp
push dword [esp + 0x2c]
push eax
push 0x34
push esi
call fcn.004c7840
add esp, 0x14
mov edx, eax
jmp 0x4ed954
mov edi, dword [esp + 0x48]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ed96a
push ebx
push 0xfffffffffffffffe
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x4ed99c
test edx, edx
jns 0x4ed972
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4ed991
push 0xfffffffffffffffe
push ebx
push eax
push esi
call fcn.0052c640
add esp, 0x10
jmp 0x4ed99c
test ebx, ebx
je 0x4ed99c
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfe
test ebp, ebp
je 0x4ed9b4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4ed9b4
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebp
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x1c]
add ebx, 0x14
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ebx
cmp ecx, ebp
jl 0x4ed830
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ed9f5
push 0
push dword [esp + 0x58]
push 0
push 0xb
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4eda28
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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
cmp ebp, 1
jle 0x4edaf1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eda4f
push edx
push esi
push ecx
call fcn.004d98e0
add esp, 0xc
jmp 0x4eda58
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4eda76
push 0
push edx
push ebx
push 5
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4edaa1
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4edabe
push 0
push dword [esp + 0x54]
push 0
push 0xb
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x4edaf1
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x4edaff
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4edb0e
mov eax, 0x610b1c
jmp 0x4edb17
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x34]
je 0x4edb3c
test ecx, ecx
je 0x4edb3c
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4edb3c
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
pop esi
test ebx, ebx
je 0x4edbf4
test ecx, ecx
je 0x4edb9f
cmp dword [ecx + 0x210], 0
je 0x4edb67
push ebx
push ecx
call fcn.004cd980
add esp, 8
jmp 0x4edbf4
cmp ebx, dword [ecx + 0x164]
jae 0x4edb9f
cmp ebx, dword [ecx + 0x15c]
jb 0x4edb87
mov eax, dword [ecx + 0x158]
mov dword [ebx], eax
mov dword [ecx + 0x158], ebx
jmp 0x4edbf4
cmp ebx, dword [ecx + 0x160]
jb 0x4edb9f
mov eax, dword [ecx + 0x150]
mov dword [ebx], eax
mov dword [ecx + 0x150], ebx
jmp 0x4edbf4
cmp dword [0x606158], 0
je 0x4edbea
mov eax, dword [0x6107f0]
test eax, eax
je 0x4edbbb
push eax
call dword [0x6061a8]
add esp, 4
push ebx
call dword [0x606184]
sub dword [0x610778], eax
dec dword [0x61079c]
push ebx
call dword [0x60617c]
mov eax, dword [0x6107f0]
add esp, 8
test eax, eax
je 0x4edbf4
push eax
call dword [0x6061b0]
jmp 0x4edbf1
push ebx
call dword [0x60617c]
add esp, 4
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi]
test ebx, ebx
je 0x4edcbf
test ecx, ecx
je 0x4edc62
cmp dword [ecx + 0x210], 0
je 0x4edc20
push ebx
push ecx
call fcn.004cd980
add esp, 8
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
cmp ebx, dword [ecx + 0x164]
jae 0x4edc62
cmp ebx, dword [ecx + 0x15c]
jb 0x4edc45
mov eax, dword [ecx + 0x158]
pop edi
mov dword [ebx], eax
pop ebp
mov dword [ecx + 0x158], ebx
pop ebx
add esp, 0x34
ret
cmp ebx, dword [ecx + 0x160]
jb 0x4edc62
mov eax, dword [ecx + 0x150]
pop edi
mov dword [ebx], eax
pop ebp
mov dword [ecx + 0x150], ebx
pop ebx
add esp, 0x34
ret
cmp dword [0x606158], 0
je 0x4edcb5
mov eax, dword [0x6107f0]
test eax, eax
je 0x4edc7e
push eax
call dword [0x6061a8]
add esp, 4
push ebx
call dword [0x606184]
sub dword [0x610778], eax
dec dword [0x61079c]
push ebx
call dword [0x60617c]
mov eax, dword [0x6107f0]
add esp, 8
test eax, eax
je 0x4edcbf
push eax
call dword [0x6061b0]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
call dword [0x60617c]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x34
ret