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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x40], ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
add eax, 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
test edx, edx
je 0x4e451c
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4e4461
push 0
push edx
push eax
mov edx, 0xc
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4499
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [eax + ecx*4], 0xc
mov edi, dword [esi + 0xc]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
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 0x4e44ba
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00495ff0
add esp, 0xc
jmp 0x4e44ec
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
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 eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x3c]
not edx
add eax, dword [ecx + 0x38]
jns 0x4e450c
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4e4515
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x13]
cmp al, 9
je 0x4e465d
cmp al, 0xd
je 0x4e465d
cmp al, 0xa
je 0x4e4607
mov cl, byte [edi + 0x13]
lea edx, [edi + 0x2c]
mov dword [esp + 0x34], edx
test cl, cl
jne 0x4e4557
mov eax, dword [edx]
inc eax
mov dword [edx], eax
jmp 0x4e4566
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x13]
cmp al, 0xc
je 0x4e45d9
cmp al, 0xe
je 0x4e45d9
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x4e45a3
test cl, cl
jne 0x4e458f
inc dword [edx]
mov ebx, dword [edx]
jmp 0x4e4679
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x4e4679
mov ebx, dword [edi + 0x20]
mov ecx, eax
mov dword [esp + 0x28], ebx
cmp ecx, dword [edi + 0x1c]
jg 0x4e45c3
sub dword [edi + 0x1c], ecx
lea eax, [ebx + ecx]
mov dword [edi + 0x20], eax
mov dword [esp + 0x34], edx
jmp 0x4e467d
mov eax, dword [edx]
mov dword [esp + 0x34], edx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], ebx
mov dword [edx], eax
jmp 0x4e467d
test cl, cl
jne 0x4e45ee
inc dword [edx]
mov ebx, dword [edx]
mov dword [esp + 0x14], 0
jmp 0x4e4675
dec cl
mov dword [esp + 0x14], 0
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x4e4675
cmp dword [ebx + 0xc], 0
je 0x4e465d
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e462e
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4e465d
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
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 eax, dword [ebp + 0x10]
lea edx, [edi + 0x2c]
mov dword [esp + 0x2c], 0
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x20], 1
mov dword [esp + 0x4c], eax
je 0x4e48b6
inc dword [edx]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], eax
inc eax
cmp dword [ecx + 0x10], 0
mov dword [edi + 0x28], eax
je 0x4e470a
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4e46d7
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4e470a
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x11
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 edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
inc edx
add edx, dword [esp + 0x4c]
cmp dword [esi + 0x78], ecx
jg 0x4e4735
push edx
push dword [esp + 0x40]
mov edx, 0x78
mov ecx, esi
push dword [esp + 0x2c]
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4768
mov edi, dword [esp + 0x24]
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], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4e4796
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4e4782
mov eax, 0x5d1b70
jmp 0x4e4793
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4e47c1
push 0
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, esi
push dword [esp + 0x24]
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4e47f4
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x24
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]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x4e4852
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e481f
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4852
mov ebx, 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 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e487c
push dword [esp + 0x24]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.00495ff0
add esp, 0xc
xor ecx, ecx
jmp 0x4e497f
mov edx, dword [esp + 0x1c]
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 + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
jmp 0x4e497f
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4e48e1
push 0
push dword [esp + 0x34]
mov edx, 0x25
mov ecx, esi
push dword [esp + 0x24]
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4e4914
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x25
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]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x4e4972
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e493f
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4972
mov edi, 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 + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], eax
lea ecx, [eax - 1]
mov dword [esp + 0x3c], ecx
test edx, edx
jle 0x4e49d0
mov edi, dword [esp + 0x50]
add edi, 0x10
nop dword [eax + eax]
cmp word [edi], 0
lea eax, [ecx + 1]
lea edi, [edi + 0x14]
cmovne eax, ecx
mov ecx, eax
sub edx, 1
jne 0x4e49b0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
test eax, eax
js 0x4e4a7f
mov edx, dword [esp + 0x50]
mov edi, eax
lea eax, [edi + ebx]
lea ebx, [edi + 1]
mov dword [esp + 0x44], eax
lea ebx, [edi + ebx*4]
lea ebx, [edx + ebx*4]
movzx eax, word [ebx]
test ax, ax
je 0x4e4a02
lea edx, [eax - 1]
jmp 0x4e4a09
mov edx, ecx
dec ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e4a2f
push dword [esp + 0x44]
mov ecx, esi
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.00495ff0
mov edx, dword [esp + 0x50]
add esp, 0xc
jmp 0x4e4a62
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
dec edx
sub ebx, 0x14
mov dword [esp + 0x44], edx
sub edi, 1
jns 0x4e49f5
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff6
cmp eax, 5
ja case.0x4e4a8f.13
jmp dword [eax*4 + 0x4e4ff8]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e4ab9
mov edx, dword [esp + 0x4c]
mov ecx, esi
push ebx
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4ae8
mov edx, dword [esp + 0x24]
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], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e4b0f
push 0
push dword [esp + 0x30]
mov edx, 0x7e
mov ecx, esi
push dword [esp + 0x28]
call fcn.00495ff0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4e4b42
mov edx, dword [esp + 0x20]
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 + 0x2c]
mov dword [eax + ecx*4], 0x7e
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 0x4e4b61
push edx
push ebx
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4b90
mov edi, dword [esp + 0x20]
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], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle case.0x4e4a8f.10
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp case.0x4e4a8f.10
mov eax, dword [ebp + 0x10]
mov ecx, esi
push edx
push dword [eax + 0x14]
push dword [esp + 0x34]
push edx
push ebx
mov edx, 0x60
call fcn.00496390
mov edx, dword [esi + 0x74]
add esp, 0x14
cmp dword [esi + 0x78], edx
jg 0x4e4bf0
push ebx
push dword [esp + 0x30]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.00495ff0
add esp, 0xc
mov edx, eax
jmp 0x4e4c23
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x4e4a8f.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4e4e65
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov al, byte [edi + 0x13]
mov dword [esp + 0x4c], ecx
test al, al
jne 0x4e4c62
mov eax, dword [esp + 0x34]
inc dword [eax]
mov edx, dword [eax]
jmp 0x4e4c71
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
sub ecx, eax
add eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
cmp dword [esi + 0x78], eax
jg 0x4e4cad
push edx
push ecx
push dword [esp + 0x58]
mov edx, 0x60
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4ce2
mov edi, dword [esp + 0x50]
inc eax
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x4c], 0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jge 0x4e4d3c
cmp eax, edx
jg 0x4e4d10
push ebx
push dword [esp + 0x38]
mov edx, 0x7f
mov ecx, esi
push dword [esp + 0x28]
call fcn.00495ff0
add esp, 0xc
jmp case.0x4e4a8f.10
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
jmp 0x4e4e59
cmp eax, edx
jg 0x4e4d5c
push ebx
push dword [esp + 0x38]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.00495ff0
add esp, 0xc
mov edx, eax
jmp 0x4e4d8f
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x4e4a8f.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x4c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp case.0x4e4a8f.10
cmp byte [esp + 0x13], 9
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jne 0x4e4e0e
mov edi, dword [esp + 0x18]
cmp eax, ecx
jg 0x4e4de3
mov ecx, dword [ebp + 0x10]
push 0
push edx
mov edx, 0x53
mov eax, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.00495ff0
add esp, 0xc
jmp case.0x4e4a8f.10
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], edx
jmp 0x4e4e51
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
cmp eax, ecx
jg 0x4e4e2e
push 0
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp case.0x4e4a8f.10
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xe
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 edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4e4eb2
cmp byte [esp + 0x13], 0xb
jne 0x4e4e86
cmp edx, 1
je 0x4e4e86
cmp edx, dword [edi + 0x1c]
jle 0x4e4e9e
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], ebx
jmp 0x4e4e9e
test ebx, ebx
je 0x4e4e9e
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4e4e9e
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4e4eb2
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e4ed0
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4e4ed9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
test byte [ebx + 0x20], 1
je 0x4e4f1d
cmp eax, ecx
jg 0x4e4f08
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 3
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4f70
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 3
jmp 0x4e4f50
cmp eax, ecx
jg 0x4e4f3d
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 5
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4f70
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 edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4e4fc4
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e4f95
push 0
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4e4fc4
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e4fe7
push edx
mov edx, esi
call fcn.00496810
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
pop edi
pop esi
mov dword [ecx + edx*4], eax
pop ebx
mov esp, ebp
pop ebp
ret