Function at 0x4d9550
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, ecx
mov dword [esp + 0x3c], 0
push ebx
push esi
mov esi, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
dec ecx
mov dword [eax + 0x38], ecx
mov al, byte [esi + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], ebx
mov byte [esp + 0xf], al
mov dword [esp + 0x34], ecx
push edi
mov edi, dword [esi + 0x30]
mov edx, dword [edi]
mov dword [esp + 0x34], edx
cmp al, 0x80
je 0x4d969a
mov eax, dword [esp + 0x40]
mov esi, 1
cmp byte [eax + 0x51], 0
jne 0x4d9696
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [eax]
cmp esi, dword [eax]
jg 0x4d9696
xor ecx, ecx
test edx, edx
jle 0x4d960e
mov ebx, dword [esp + 0x34]
lea edx, [edi + 0x18]
movzx eax, word [edx]
cmp eax, esi
je 0x4d9606
inc ecx
add edx, 0x18
cmp ecx, ebx
jl 0x4d95f7
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x4d9683
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x54]
push 0
push eax
mov edx, 0x93
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004b1ac0
add esp, 8
test eax, eax
je 0x4d96fc
mov ecx, dword [esp + 0x20]
mov edx, edi
or dword [eax + 4], 0x400
push eax
mov dword [eax + 8], esi
call fcn.004b2ef0
mov edx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0x30], edi
test edi, edi
je 0x4d9687
mov ecx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x34], edx
mov word [ecx + edi + 0x18], si
add ecx, 0x18
mov dword [esp + 0x2c], ecx
jmp 0x4d9687
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc esi
cmp byte [ecx + 0x51], 0
je 0x4d95e0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.0047ddb0
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x4d9708
mov esi, dword [esp + 0x34]
mov ecx, 1
mov dword [eax], esi
cmp esi, ecx
jl 0x4d96e3
lea edx, [edi + 0x18]
mov ebx, eax
nop dword [eax]
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x4d96d0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004d81b0
add esp, 4
mov dword [esp + 0x64], eax
jmp 0x4d9710
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x64], 0
mov dword [esi + 0x30], edi
mov edx, edi
mov edi, dword [esp + 0x20]
push 0
mov ecx, dword [edi]
call fcn.004b26a0
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp byte [esp + 0x13], 0x80
mov dword [ecx + 0x30], eax
jne 0x4d9740
mov dword [esp + 0x2c], 0
jmp 0x4d9839
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x2c], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d977a
push 0
push edx
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d97ad
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
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 + 0x40]
mov edx, edi
push 1
call fcn.004d6d40
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d9835
xor esi, esi
test edi, edi
jle 0x4d9831
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4d97f6
mov ecx, dword [esp + 0x20]
push esi
call fcn.004d8170
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x4d980f
jmp 0x4d97f8
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x4d980f
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x20]
call fcn.004b10b0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x54]
jl 0x4d97d8
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov edx, esi
mov dword [esi + 0x34], 0
mov ecx, edi
push str.ORDER
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
call fcn.004b0520
mov eax, dword [esp + 0x40]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x4d987d
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, edi
call fcn.004b0520
add esp, 8
push dword [esp + 0x30]
mov edx, esi
mov ecx, edi
call fcn.004d8030
add esp, 4
cmp dword [esi + 0xc], 0
je 0x4d995a
cmp byte [esp + 0x13], 0x80
jne 0x4d995a
mov esi, dword [edi + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [edi + 0x2c], eax
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4d98be
inc edx
jmp 0x4d98c1
mov edx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d98de
push 0
push esi
push edx
mov edx, 0x4e
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9909
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d9929
push 0
push dword [esp + 0x1c]
mov edx, 0x4e
mov ecx, ebx
push esi
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9968
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d9968
mov edi, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x18], 0
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4d9978
mov ecx, dword [esp + 0x40]
call fcn.004b20e0
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x80], 0xd
mov dword [esp + 0x90], 0
mov edx, dword [ecx + 0x2c]
inc edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], 0
lea eax, [edx + 1]
mov byte [esp + 0x68], 0xd
mov dword [esp + 0x24], eax
add eax, 2
mov dword [esp + 0x44], eax
mov dword [ecx + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x6c], eax
movzx eax, byte [edi + 4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
sub eax, 0x80
je 0x4d9a1a
sub eax, 1
je 0x4d9a13
sub eax, 1
je 0x4d9a0c
mov eax, str.UNION
jmp 0x4d9a1f
mov eax, str.INTERSECT
jmp 0x4d9a1f
mov eax, str.EXCEPT
jmp 0x4d9a1f
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.0049d120
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x4d9a55
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xd
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
mov edi, eax
jmp 0x4d9a85
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], edx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
push str.LEFT
push 1
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x28]
push esi
call fcn.0049d120
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x8c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004dc910
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x4d9ad7
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x43
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9b0a
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4d9b2d
mov eax, 0x648de8
jmp 0x4d9b3e
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x5c], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4d9b6c
push esi
push 0
push dword [esp + 0x2c]
mov edx, 0xd
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x4d9b98
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push str.RIGHT
push 1
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
push dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
call fcn.0049d120
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
call fcn.004dc910
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0xc], edi
mov edi, eax
mov dword [edi + 0x10], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d9c05
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x43
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9c38
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 eax, dword [ebx + 0xc]
mov edx, edi
push dword [esp + 0x30]
mov esi, dword [ebp + 8]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x34]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x30]
inc eax
push eax
lea eax, [esp + 0x90]
push esi
push eax
call fcn.004d9190
mov dword [esp + 0x30], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x80
je 0x4d9c85
cmp al, 0x7f
jne 0x4d9cad
push dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push dword [esp + 0x20]
mov edx, edi
push dword [esp + 0x34]
push dword [esp + 0x50]
push esi
push eax
call fcn.004d9190
add esp, 0x18
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4d9cfa
add dword [edx], 0xffffffff
jne 0x4d9cfa
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x4d9cf1
cmp dword [ecx + 0x1e8], 0
je 0x4d9cd1
call fcn.0047da50
jmp 0x4d9cfa
cmp edx, dword [ecx + 0x138]
jb 0x4d9cf1
cmp edx, dword [ecx + 0x13c]
jae 0x4d9cf1
mov eax, dword [ecx + 0x134]
mov dword [edx], eax
mov dword [ecx + 0x134], edx
jmp 0x4d9cfa
push edx
call fcn.0047d9e0
add esp, 4
mov al, byte [esp + 0x13]
cmp al, 0x81
je 0x4d9ed1
cmp al, 0x82
je 0x4d9ed1
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x1c], esi
cmp dword [ebx + 0x70], esi
jg 0x4d9d3b
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.0049cca0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x4d9d6e
mov edx, dword [esp + 0x44]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [ebx + 0x70], edx
jg 0x4d9d99
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.0049cca0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4d9dcc
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d9dea
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9e19
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
movzx edi, word [edi + 6]
movsx ecx, di
movzx esi, word [eax + 6]
movsx edx, si
cmp di, si
jl 0x4d9e82
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4d9e4a
mov eax, edi
mov edi, dword [esp + 0x14]
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4d9e65
lea eax, [edi + 1]
mov edi, dword [esp + 0x14]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
mov edi, dword [esp + 0x14]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4d9e99
mov edi, dword [esp + 0x14]
mov eax, esi
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4d9eb4
mov edi, dword [esp + 0x14]
lea eax, [esi + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
mov edi, dword [esp + 0x14]
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x4d9edf
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
cmp byte [esp + 0x13], 0x82
jne 0x4d9f33
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x4d9efc
mov word [edi + 6], ax
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x70], esi
jg 0x4da03e
mov eax, dword [esp + 0x24]
mov edx, 0xc
push 0
inc eax
mov ecx, ebx
push edi
push eax
call fcn.0049cca0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x4da072
mov esi, dword [ebx + 0x6c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x50], esi
cmp dword [ebx + 0x70], esi
jg 0x4d9f63
mov eax, dword [esp + 0x24]
mov edx, 0xc
push 0
inc eax
mov ecx, ebx
push edi
push eax
call fcn.0049cca0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x50], esi
jmp 0x4d9f93
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4d9fb6
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x30]
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9fe9
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da00a
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4d9f00
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d9f00
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x1c]
cmp dword [ebx + 0x70], ecx
jg 0x4da096
push 0
push edi
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4da0c5
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da0e6
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0049cca0
add esp, 0xc
jmp 0x4da119
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 al, byte [esp + 0x13]
cmp al, 0x80
jne 0x4da12a
mov dword [esp + 0x1c], esi
jmp 0x4da1eb
cmp al, 0x82
jne 0x4da13c
mov dword [esp + 0x1c], esi
inc esi
mov dword [esp + 0x18], esi
jmp 0x4da1eb
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x70], edx
jg 0x4da164
push 0
push edi
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4da193
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da1b4
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0049cca0
add esp, 0xc
jmp 0x4da1e7
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x54], ecx
cmp al, 0x80
je 0x4da1fa
cmp al, 0x7f
jne 0x4da24d
cmp dword [ebx + 0x70], ecx
jg 0x4da21a
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.0049cca0
add esp, 0xc
jmp 0x4da24d
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
cmp dword [ebx + 0x70], ecx
jg 0x4da272
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4da29d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da2be
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0049cca0
add esp, 0xc
jmp 0x4da2f1
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4da303
mov eax, 0x648de8
jmp 0x4da318
mov ecx, dword [esp + 0x5c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da33f
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x30]
mov edx, 0xe
call fcn.0049cca0
add esp, 0xc
jmp 0x4da372
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da38f
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
jmp 0x4da3ba
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4da3d8
push edx
mov edx, ebx
call fcn.0049d2f0
add esp, 4
jmp 0x4da3e1
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x4da402
push 0
push 0
push 0
mov edx, 0x56
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
mov edx, eax
jmp 0x4da435
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x56
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
push 0xfffffffffffffff1
push dword [esp + 0x64]
mov ecx, ebx
call fcn.0049da90
mov esi, dword [ebx + 0x6c]
add esp, 8
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x88]
cmp dword [ebx + 0x70], esi
jg 0x4da471
push dword [esp + 0x34]
mov ecx, ebx
push edx
push edi
mov edx, 0x57
call fcn.0049cca0
add esp, 0xc
mov esi, eax
jmp 0x4da4a0
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x68]
mov edx, esi
mov ecx, ebx
call fcn.0049da90
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x4da4cc
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4da4f1
mov edx, dword [esp + 0x54]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, 0x10
call fcn.0049cca0
add esp, 0xc
jmp 0x4da524
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4da542
push edx
mov edx, ebx
call fcn.0049d2f0
add esp, 4
jmp 0x4da54b
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4da564
mov ecx, dword [esp + 0x40]
push 1
call fcn.004d52a0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x4da580
xor eax, eax
jmp 0x4da5a6
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4da58b
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4da59a
mov eax, 0x648de8
jmp 0x4da5a3
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret