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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 8]
push esi
push edi
mov dword [esp + 0x34], eax
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], 0
mov edi, dword [esi + 0x74]
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], ebx
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x4b2f61
mov edx, dword [esi + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.0045a1b0
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b2f6f
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [ebx + 0x18]
or ecx, 0xffffffff
mov eax, ecx
sub eax, edi
mov dword [esp + 0x20], eax
mov edi, dword [esi + 0x74]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x4b2faa
mov edx, dword [esi + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.0045a1b0
add esp, 8
mov dword [esi + 0x78], eax
or ecx, 0xffffffff
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b2fb8
mov dword [eax + edi*4], 0xffffffff
sub ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x2c]
movzx eax, byte [ecx + 4]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], edx
cmp eax, 0x74
je 0x4b30d4
mov eax, dword [esp + 0x34]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x4b30d4
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x50], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x4b30d4
mov edx, dword [esi + 4]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x4b3033
mov esi, dword [esp + 0x1c]
add edx, 0x14
movzx eax, word [edx]
cmp eax, edi
je 0x4b302f
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x4b3020
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x4b30b4
mov ecx, dword [esp + 0x34]
push 0
push 0x31
call fcn.0045a000
mov esi, eax
add esp, 8
test esi, esi
je 0x4b30c8
push 0x30
push 0
push esi
call fcn.00509d10
mov edx, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov byte [esi], 0x84
mov word [esi + 0x22], ax
mov byte [esi + 0x30], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.0048e7a0
mov edx, dword [esp + 0x20]
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
je 0x4b30b4
mov ecx, dword [esp + 0x50]
inc edx
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], edx
mov word [eax + ecx + 0x14], di
add ecx, 0x18
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x34]
inc edi
cmp byte [eax + 0x45], 0
jne 0x4b30d4
mov ecx, dword [esp + 0x14]
jmp 0x4b3004
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x34]
lea eax, [edx*4 + 4]
push 0
push eax
mov ecx, edi
call fcn.0045a000
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x4b313f
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, 1
mov edx, dword [esi + 4]
cmp eax, ecx
jl 0x4b3128
mov ebx, dword [esp + 0x50]
add edx, 0x14
mov edi, eax
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x4b3111
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004b1830
add esp, 4
mov dword [esp + 0x54], eax
jmp 0x4b3147
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x14]
mov edx, esi
push 0
mov dword [eax + 0x2c], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.0048e0a0
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x2c], 0x74
mov dword [ecx + 0x2c], eax
jne 0x4b317b
mov dword [esp + 0x58], 0
jmp 0x4b327f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x4c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x58], edx
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b31bc
push 0
push edx
push 0
mov edx, 0x16
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b31ef
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
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
push 1
mov edx, esi
mov ecx, edi
call fcn.004afe40
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
je 0x4b327f
xor esi, esi
cmp dword [esp + 0x4c], esi
jle 0x4b327f
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x44], ecx
lea ebx, [ebx]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4b323e
mov ecx, dword [esp + 0x10]
push esi
call fcn.004b17e0
mov ecx, dword [esp + 0x48]
add esp, 4
test eax, eax
jne 0x4b3259
jmp 0x4b3240
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x4b3259
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + edi]
call fcn.0048cf80
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x38]
add ecx, 4
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x4c]
jl 0x4b3220
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov edx, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push str.ORDER
mov dword [esi + 0x30], 0
mov dword [eax + 0x34], 0
push dword [esi + 0x2c]
call fcn.0048c480
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x4b32cb
mov ecx, dword [esp + 0x10]
mov edx, eax
push str.ORDER
push dword [eax + 0x2c]
call fcn.0048c480
add esp, 8
push dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.004b16c0
add esp, 4
cmp dword [esi + 0xc], 0
je 0x4b33c5
cmp dword [esp + 0x2c], 0x74
jne 0x4b33c5
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x4c]
inc esi
mov dword [esp + 0x4c], esi
lea eax, [esi + 1]
mov dword [ecx + 0x4c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4b3316
inc edx
jmp 0x4b3319
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3339
push 0
push esi
push edx
mov edx, 0x1e
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b3368
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x44]
cmp dword [eax + 0x58], ecx
jg 0x4b3390
push 0
push edx
push esi
mov edx, 0x1e
mov ecx, ebx
call fcn.004791e0
mov esi, dword [esp + 0x20]
add esp, 0xc
jmp 0x4b33d5
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b33d5
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov esi, dword [esi + 0x38]
test esi, esi
je 0x4b351d
test dword [esi + 4], 0x4000
jne 0x4b3477
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.0048dbe0
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.0048dbe0
test dword [esi + 4], 0x10000
je 0x4b3458
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b3458
test edi, edi
je 0x4b344f
cmp dword [edi + 0x1c8], 0
je 0x4b3429
mov edx, ecx
mov ecx, edi
call fcn.00459cc0
jmp 0x4b3458
cmp ecx, dword [edi + 0x120]
jb 0x4b344f
cmp ecx, dword [edi + 0x124]
jae 0x4b344f
mov eax, dword [edi + 0x11c]
mov dword [ecx], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ecx
jmp 0x4b3458
push ecx
call fcn.00459c50
add esp, 4
test dword [esi + 4], 0x800
mov ecx, edi
mov edx, dword [esi + 0x14]
je 0x4b3472
push 1
call fcn.004ae290
add esp, 4
jmp 0x4b3477
call fcn.0048e9f0
test dword [esi + 4], 0x8000
jne 0x4b351d
test edi, edi
je 0x4b34c5
cmp dword [edi + 0x1c8], 0
je 0x4b349f
mov edx, esi
mov ecx, edi
call fcn.00459cc0
jmp 0x4b351d
cmp esi, dword [edi + 0x120]
jb 0x4b34c5
cmp esi, dword [edi + 0x124]
jae 0x4b34c5
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x4b351d
cmp dword [0x58c138], 0
je 0x4b3513
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4b34e1
push eax
call dword [0x58c190]
add esp, 4
push esi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push esi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4b351d
push eax
call dword [0x58c198]
jmp 0x4b351a
push esi
call dword [0x58c164]
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x38], 0
test esi, esi
je 0x4b3670
test dword [esi + 4], 0x4000
jne 0x4b35ca
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.0048dbe0
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.0048dbe0
test dword [esi + 4], 0x10000
je 0x4b35ab
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b35ab
test edi, edi
je 0x4b35a2
cmp dword [edi + 0x1c8], 0
je 0x4b357c
mov edx, ecx
mov ecx, edi
call fcn.00459cc0
jmp 0x4b35ab
cmp ecx, dword [edi + 0x120]
jb 0x4b35a2
cmp ecx, dword [edi + 0x124]
jae 0x4b35a2
mov eax, dword [edi + 0x11c]
mov dword [ecx], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ecx
jmp 0x4b35ab
push ecx
call fcn.00459c50
add esp, 4
test dword [esi + 4], 0x800
mov ecx, edi
mov edx, dword [esi + 0x14]
je 0x4b35c5
push 1
call fcn.004ae290
add esp, 4
jmp 0x4b35ca
call fcn.0048e9f0
test dword [esi + 4], 0x8000
jne 0x4b3670
test edi, edi
je 0x4b3618
cmp dword [edi + 0x1c8], 0
je 0x4b35f2
mov edx, esi
mov ecx, edi
call fcn.00459cc0
jmp 0x4b3670
cmp esi, dword [edi + 0x120]
jb 0x4b3618
cmp esi, dword [edi + 0x124]
jae 0x4b3618
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x4b3670
cmp dword [0x58c138], 0
je 0x4b3666
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4b3634
push eax
call dword [0x58c190]
add esp, 4
push esi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push esi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4b3670
push eax
call dword [0x58c198]
jmp 0x4b366d
push esi
call dword [0x58c164]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov word [esp + 0x7c], 0xd
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [eax + 0x3c], 0
inc dword [edx + 0x4c]
mov edi, dword [edx + 0x4c]
mov dword [esp + 0x80], edi
mov word [esp + 0x68], 0xd
mov dword [esp + 0x70], 0
lea ecx, [edi + 1]
mov dword [esp + 0x74], 0
lea eax, [ecx + 2]
mov dword [esp + 0x6c], ecx
mov dword [edx + 0x4c], eax
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
lea edx, [esi + 1]
cmp dword [eax + 0x58], esi
jg 0x4b36fe
push edx
push 0
push edi
mov edx, 0x10
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
mov esi, eax
jmp 0x4b372a
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x20], edx
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.004b6eb0
mov eax, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3773
push 0
push 0
push edi
mov edx, 0x11
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b37a6
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
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 + 0x18]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [ebx + 0x20]
test esi, esi
jns 0x4b37cb
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x4b37da
mov eax, 0x5a2a64
jmp 0x4b37e3
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x5c], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x58], ecx
jg 0x4b3814
push esi
push 0
push dword [esp + 0x20]
mov edx, 0x10
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x4b3844
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x20], esi
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [eax + 0x1d8]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004b6eb0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b38a9
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x11
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b38e0
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
push dword [esp + 0x20]
mov edi, dword [esp + 0x5c]
push dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov edx, esi
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0x18]
push edi
mov dword [eax + 0x3c], 0
mov eax, dword [esp + 0x24]
inc eax
push eax
push dword [ebp + 8]
lea eax, [esp + 0x90]
push eax
call fcn.004b2ac0
mov dword [esp + 0x5c], eax
add esp, 0x18
mov eax, dword [esp + 0x2c]
cmp eax, 0x74
je 0x4b3933
cmp eax, 0x73
jne 0x4b395a
push dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push dword [esp + 0x3c]
mov edx, esi
push edi
push dword [esp + 0x48]
push dword [ebp + 8]
push eax
call fcn.004b2ac0
add esp, 0x18
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4b39be
dec dword [edi]
jne 0x4b39be
cmp dword [0x58c138], 0
je 0x4b39b4
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4b3982
push eax
call dword [0x58c190]
add esp, 4
push edi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push edi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4b39be
push eax
call dword [0x58c198]
jmp 0x4b39bb
push edi
call dword [0x58c164]
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0x75
je 0x4b3bad
cmp eax, 0x76
je 0x4b3bad
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
cmp dword [eax + 0x58], edi
jg 0x4b39fc
push 0
push dword [esp + 0x44]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x44]
call fcn.004791e0
add esp, 0xc
mov edi, eax
jmp 0x4b3a33
mov edx, dword [esp + 0x3c]
lea eax, [edi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x4c], edx
cmp dword [eax + 0x58], edx
jg 0x4b3a61
push 0
push dword [esp + 0x24]
mov edx, 0x12
mov ecx, ebx
push dword [esp + 0x20]
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4b3a98
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3ab9
push 0
push edi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b3aec
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
movzx edx, word [esi + 6]
movzx ecx, word [eax + 6]
cmp dx, cx
jl 0x4b3b58
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x4b3b1d
mov ecx, dword [esp + 0x14]
mov eax, edx
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x4b3b3b
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
sub ecx, esi
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
mov ecx, dword [esp + 0x14]
add ax, dx
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x4b3b75
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x4b3b90
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
sub edx, esi
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x4b3bb9
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov dword [esp + 0x4c], ecx
mov ecx, esi
cmp eax, 0x76
jne 0x4b3bdb
mov eax, dword [esp + 0x28]
mov esi, edi
movzx eax, word [eax + 6]
cmp word [ecx + 6], ax
jle 0x4b3cf2
mov word [ecx + 6], ax
jmp 0x4b3cf2
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x58], esi
jg 0x4b3c05
mov eax, dword [esp + 0x18]
mov edx, 0xe
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.004791e0
add esp, 0xc
mov esi, eax
jmp 0x4b3c41
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3c67
push 0
push dword [esp + 0x24]
mov edx, 0x12
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.004791e0
add esp, 0xc
jmp 0x4b3c9e
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3cbf
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b3cf2
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x38], edx
cmp dword [eax + 0x58], edx
jg 0x4b3d22
mov eax, dword [esp + 0x18]
mov edx, 0xe
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x4b3d5e
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x20], eax
inc edx
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3d81
push 0
push edi
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b3db4
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3dd8
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b3e0f
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x2c]
cmp eax, 0x74
jne 0x4b3e25
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
jmp 0x4b3ef5
cmp eax, 0x76
jne 0x4b3e3c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x38], eax
jmp 0x4b3ef5
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x44], edx
cmp dword [eax + 0x58], edx
jg 0x4b3e67
push 0
push edi
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4b3e9a
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3ebe
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b3ef5
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x2c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x58], ecx
cmp eax, 0x74
je 0x4b3f0a
cmp eax, 0x73
jne 0x4b3f64
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4b3f2d
push 0
push dword [esp + 0x44]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x44]
call fcn.004791e0
add esp, 0xc
jmp 0x4b3f64
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
mov edi, dword [esp + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4b3f88
push 0
push esi
push edi
mov edx, 0x12
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b3fb7
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b3fdb
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b4012
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x20]
test ecx, ecx
jns 0x4b402a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x4b4039
mov eax, 0x5a2a64
jmp 0x4b4042
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b406c
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x12
call fcn.004791e0
add esp, 0xc
jmp 0x4b40a3
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b40c3
push 0
push esi
push edi
mov edx, 0x12
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
jmp 0x4b40f2
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b410e
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4b4139
push 0
push 0
push 0
mov edx, 0x29
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b4170
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
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 ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x4b418b
push dword [esp + 0x50]
mov edx, 0xfffffff1
call fcn.00479ca0
add esp, 4
jmp 0x4b41c6
test edx, edx
jns 0x4b4193
mov edx, dword [ebx + 0x20]
dec edx
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b41b7
push 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, eax
mov ecx, ebx
call fcn.00479ec0
add esp, 8
jmp 0x4b41c6
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4b41c6
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x84]
cmp dword [eax + 0x58], edx
jg 0x4b41f5
push dword [esp + 0x1c]
mov edx, 0x2a
mov ecx, ebx
push esi
push edi
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b4224
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x4b4240
mov edx, dword [esp + 0x54]
push edx
mov edx, 0xfffffffa
call fcn.00479ca0
add esp, 4
jmp 0x4b4278
test edx, edx
jns 0x4b4248
mov edx, dword [ebx + 0x20]
dec edx
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x54]
je 0x4b426d
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, ebx
call fcn.00479ec0
add esp, 8
jmp 0x4b4278
test edx, edx
je 0x4b4278
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x4b428e
mov eax, dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + ecx*4 - 0x11], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b42b8
mov edx, dword [esp + 0x58]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x48]
push edx
push dword [esp + 0x40]
mov edx, 0x2b
call fcn.004791e0
add esp, 0xc
jmp 0x4b42ef
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b430b
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
mov esi, dword [esp + 0x28]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x4b4341
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x4b4330
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4b4327
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.004b0e20
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4b435a
mov ecx, dword [esp + 0x34]
push 1
call fcn.004ae290
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x30], esi
mov dword [esi + 0x34], ebx
cmp byte [eax + 0x1c5], 2
jne 0x4b448a
mov esi, dword [eax + 8]
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x4b4398
dec eax
je 0x4b4391
dec eax
je 0x4b438a
mov eax, str.UNION
jmp 0x4b439d
mov eax, str.INTERSECT
jmp 0x4b439d
mov eax, str.EXCEPT
jmp 0x4b439d
mov eax, str.UNION_ALL
mov ebx, dword [esp + 0x10]
push eax
push 0x5637cb
push dword [esp + 0x68]
push dword [esp + 0x70]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [ebx]
call fcn.0045bbf0
mov ecx, dword [esi + 0x18]
add esp, 0x18
mov edx, dword [esi + 0x20]
mov edi, eax
mov ebx, dword [ebx + 0x1d4]
cmp dword [ecx + 0x58], edx
jg 0x4b43e9
push 0
push 0
push ebx
mov edx, 0xa1
mov ecx, esi
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b441c
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xa1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
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]
cmp byte [ecx + 0x45], 0
je 0x4b4445
or eax, 0xffffffff
push edi
mov edx, eax
call fcn.00479ca0
mov ecx, dword [esp + 0x14]
xor eax, eax
add esp, 4
cmp dword [ecx + 0x44], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b444d
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea edx, [edx + edx*4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x4b447f
push 0xffffffffffffffff
push edi
mov edx, eax
mov ecx, esi
call fcn.00479ec0
mov ecx, dword [esp + 0x18]
xor eax, eax
add esp, 8
cmp dword [ecx + 0x44], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4b448a
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xff
mov ecx, dword [esp + 0x10]
xor eax, eax
pop edi
pop esi
pop ebx
cmp dword [ecx + 0x44], eax
setne al
mov esp, ebp
pop ebp
ret