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

Disassembly:
sub esp, 0xc4
push ebx
mov ebx, dword [esp + 0xd0]
push ebp
push esi
mov esi, dword [esp + 0xd4]
push edi
test ebx, ebx
mov eax, dword [esi]
mov dword [esp + 0x14], 1
mov dword [esp + 0x24], eax
je 0x4e1863
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x4e1863
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4e1863
push 0
push 0
push 0
push 0x15
push esi
call fcn.004d7910
add esp, 0x14
test eax, eax
jne 0x4e1863
mov ecx, 0xb
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x18], eax
cmp byte [ecx], 4
ja 0x4e1648
and word [ebx + 6], 0xfffe
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.004e0a00
mov ecx, dword [esi + 0x40]
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x28], edx
jne 0x4e2238
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + 0x1e]
test dl, dl
jne 0x4e2238
mov cl, byte [ebx + 6]
mov edx, dword [esp + 0x18]
shr ecx, 2
and ecx, 1
mov dword [ebx + 0x18], edx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x4e2238
mov eax, dword [esi + 0x40]
test eax, eax
jg 0x4e2238
mov edx, dword [esp + 0xe0]
cmp byte [edx], 4
ja 0x4e16b2
mov dword [esp + 0x18], 0
push esi
call fcn.004e0960
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4e2238
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], 0
test eax, eax
jne 0x4e17ff
mov eax, dword [esp + 0x28]
movsx ecx, word [eax]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jge 0x4e17ff
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + edx*8 + 0x18]
lea eax, [eax + edx*8 + 8]
test edi, edi
mov dword [esp + 0x44], eax
je 0x4e17eb
mov cl, byte [eax + 0x14]
test cl, cl
jne 0x4e17eb
push ebx
call fcn.004e2270
mov edx, dword [esi + 0x1b0]
mov ecx, dword [esp + 0x20]
add edx, eax
mov dword [esi + 0x1b0], edx
mov al, byte [edi + 6]
mov edx, dword [esp + 0x24]
shr eax, 2
and eax, 1
push eax
push ecx
push edx
push ebx
push esi
mov dword [esp + 0x70], eax
call fcn.004e4530
add esp, 0x18
test eax, eax
je 0x4e176f
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e1765
or byte [ebx + 6], 4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0xffffffff
jmp 0x4e17a0
mov eax, dword [esp + 0x44]
lea edx, [esp + 0xc4]
mov ecx, dword [eax + 0x18]
push ecx
push 9
push edx
call fcn.004e01e0
lea eax, [esp + 0xd0]
push eax
push edi
push esi
call fcn.004e15c0
mov ecx, dword [esp + 0x5c]
add esp, 0x18
mov byte [ecx + 0x14], 1
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4e2238
mov edx, dword [esp + 0x24]
mov al, byte [edx + 0x1e]
test al, al
jne 0x4e2238
push ebx
call fcn.004e2270
mov ecx, dword [esi + 0x1b0]
add esp, 4
sub ecx, eax
mov dword [esi + 0x1b0], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x28], eax
cmp byte [ecx], 4
jbe 0x4e17eb
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x1c]
inc ecx
test eax, eax
mov dword [esp + 0x20], ecx
je 0x4e16d8
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], ecx
mov cl, byte [ebx + 6]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x1c]
and ecx, 1
test eax, eax
mov dword [esp + 0x10], edx
mov edi, ecx
je 0x4e1890
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4e1873
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x4e1836
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x4e1873
cmp edx, eax
jle 0x4e1873
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.004c8b20
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc4
ret
mov ecx, dword [esp + 0xe0]
push ecx
push ebx
push esi
call fcn.004e3270
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xe0]
mov eax, dword [edx]
push eax
push ecx
push esi
call fcn.004e2650
add esp, 0xc
test eax, eax
jne 0x4e2238
mov dl, byte [ebx + 6]
and dl, 5
cmp dl, 1
jne 0x4e18e1
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4e18e1
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.004d7100
and word [ebx + 6], 0xfffe
add esp, 8
mov dword [ebx + 0x10], eax
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e1928
push eax
push esi
call fcn.004e2c10
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x44]
push 0xfffffffffffffff0
push eax
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x44]
mov eax, dword [esp + 0x28]
inc ecx
mov dword [esi + 0x44], ecx
push 0
mov edx, dword [eax]
mov eax, dword [eax + 8]
add edx, 2
push edx
push eax
push 0x74
push ebp
call fcn.004d1ff0
add esp, 0x24
mov dword [esp + 0x30], eax
mov dword [ebx + 0x40], eax
jmp 0x4e1930
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0xe0]
cmp byte [ecx], 9
jne 0x4e1952
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov edx, dword [ecx + 4]
push eax
push edx
push 0x74
push ebp
call fcn.004d2cc0
add esp, 0x10
push ebp
call fcn.004d30f0
push eax
push ebx
push esi
mov dword [esp + 0xa8], eax
call fcn.004e3160
add esp, 0x10
test edi, edi
je 0x4e1999
mov edi, dword [esi + 0x44]
mov dword [esp + 0x58], edi
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.004e2c10
push 0xfffffffffffffff0
push eax
push 0
push 0
push edi
push 0x74
push ebp
call fcn.004d1ff0
add esp, 0x24
jmp 0x4e19a1
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x4e1a39
test edx, edx
jne 0x4e1a3d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
push edx
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push esi
call fcn.004e76a0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4e2238
mov eax, dword [esp + 0x30]
test eax, eax
jl 0x4e1a04
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4e1a04
mov edx, dword [esp + 0x30]
push 1
push edx
push ebp
call fcn.004c8ec0
add esp, 0xc
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.004e2690
push edi
call fcn.004eb1b0
add esp, 0x2c
jmp 0x4e21de
test edx, edx
je 0x4e1a71
mov eax, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
test ecx, ecx
jle 0x4e1a5a
add eax, 0xc
mov word [eax], 0
add eax, 0x10
dec ecx
jne 0x4e1a4b
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edx, dword [edx + 0xc]
test ecx, ecx
jle 0x4e1a71
lea eax, [edx + 0xc]
mov word [eax], 0
add eax, 0x10
dec ecx
jne 0x4e1a66
push ebp
call fcn.004d30f0
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x2c]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xa4]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0xa4], edx
je 0x4e1abc
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x70], ecx
jmp 0x4e1ac4
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.004e2610
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xa8]
push ecx
push edx
call fcn.004e2610
mov eax, dword [esp + 0x54]
xor edi, edi
add esp, 0x10
cmp eax, edi
je 0x4e1b0a
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.004e22f0
add esp, 8
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
cmp eax, edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x20], edi
jle 0x4e1b59
mov edx, dword [esp + 0x84]
mov eax, dword [edi + edx]
lea edx, [esp + 0xa0]
mov ecx, dword [eax + 0x10]
push ecx
push edx
call fcn.004e2610
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
add esp, 8
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e1b24
mov eax, dword [esp + 0x24]
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x4e2238
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, eax
je 0x4e2093
mov eax, dword [esi + 0x44]
push ecx
mov dword [esp + 0x6c], eax
inc eax
push esi
mov dword [esi + 0x44], eax
call fcn.004e2c10
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
push 0xfffffffffffffff0
push eax
push 0
push ecx
push edx
push 0x74
push ebp
mov dword [esp + 0xc0], eax
call fcn.004d1ff0
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x48]
inc eax
push ebp
mov dword [esp + 0x84], eax
lea edi, [eax + 1]
mov dword [esp + 0x44], edi
lea eax, [edi + 1]
mov dword [esi + 0x48], eax
call fcn.004d30f0
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x48]
inc eax
push ebp
mov dword [esi + 0x48], eax
mov dword [esp + 0x68], eax
call fcn.004d30f0
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x48]
push edi
push 0
lea ecx, [eax + 1]
push 0x31
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x48]
push ebp
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
mov dword [esp + 0x6c], edx
mov dword [esi + 0x48], ecx
call fcn.004d2cc0
mov edx, dword [esp + 0x98]
push edx
push 0
push 0x31
push ebp
call fcn.004d2cc0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
add esp, 0x4c
push eax
push ecx
push 0x30
push ebp
call fcn.004d2cc0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push 0
lea edx, [esp + 0x24]
push 0
push edx
push eax
push ecx
push esi
call fcn.004e76a0
add esp, 0x28
mov dword [esp + 0x90], eax
test eax, eax
je 0x4e2238
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e1c85
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
jmp 0x4e1e11
mov edi, dword [eax]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], edi
inc edi
mov eax, edi
mov dword [esp + 0x34], 1
test ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edi
jle 0x4e1cd5
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
add edx, 0xc
mov ecx, dword [edx]
cmp ecx, dword [esp + 0x2c]
jl 0x4e1cc3
mov ecx, dword [esp + 0x2c]
inc eax
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
add edx, 0x18
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4e1cb1
mov dword [esp + 0x14], eax
push eax
push esi
call fcn.004d5b90
mov edx, dword [esp + 0x18]
push 0
push eax
push edx
push esi
mov dword [esp + 0x64], eax
call fcn.004d53a0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x80]
add eax, ecx
push eax
push edx
push 6
push ebp
call fcn.004d2cc0
mov eax, dword [esp + 0xa0]
add esp, 0x28
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
jle 0x4e1d9e
mov eax, dword [esp + 0x4c]
mov ecx, edi
add eax, ecx
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + eax + 0xc]
cmp ecx, edx
jl 0x4e1d8a
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + eax + 4]
push 0
push ecx
mov ecx, dword [edi + eax + 8]
push edx
mov edx, dword [edi + eax]
push ecx
push edx
push esi
call fcn.004d5110
mov ecx, dword [esp + 0x50]
add esp, 0x18
cmp ecx, eax
je 0x4e1d74
push ecx
push eax
push 9
push ebp
call fcn.004d2cc0
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
inc ecx
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
inc ecx
add edi, 0x18
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x4e1d35
push esi
call fcn.004d5a70
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x50]
push edi
push edx
push eax
push 0x5a
push ebp
call fcn.004d2030
mov ecx, dword [esp + 0x80]
push edi
push ecx
push 0x6c
push ebp
call fcn.004d2cc0
push edi
push esi
call fcn.004d5aa0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
push edx
push eax
push esi
call fcn.004d5be0
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004eb1b0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xa8]
add esp, 0x40
push edx
push eax
push 0x14
push ebp
call fcn.004d2cc0
add esp, 0x10
mov byte [esp + 0x65], 1
push ebp
call fcn.004d3170
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
cmp dword [eax], 0
jle 0x4e1e87
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4e1e50
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
lea edx, [edi + ecx]
push edx
push edi
push eax
push 3
push ebp
call fcn.004d2030
add esp, 0x14
jmp 0x4e1e71
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x64], 1
mov eax, dword [eax + 0xc]
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax + ecx]
push edx
push esi
call fcn.004d33c0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc edi
add edx, 0x10
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
cmp edi, ecx
jl 0x4e1e2d
mov ecx, dword [esp + 0x9c]
mov edx, dword [eax]
mov eax, dword [esp + 0x30]
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
push 0x60
push ebp
call fcn.004d1ff0
push ebp
call fcn.004d3170
mov edi, eax
lea eax, [edi + 1]
push eax
push 0
push eax
push 0x81
push ebp
call fcn.004d2030
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc8]
mov eax, dword [edx]
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.004e2290
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x60]
add esp, 0x44
push eax
lea eax, [ecx + 1]
push eax
push 0x30
push ebp
call fcn.004d2cc0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
push edx
push eax
push 0x7f
push ebp
call fcn.004d2cc0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0x30
push ebp
call fcn.004d2cc0
push edi
push ebp
call fcn.004d3180
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.004e4e30
mov ecx, dword [esp + 0x9c]
add esp, 0x40
push ecx
push 1
push 0x31
push ebp
call fcn.004d2cc0
mov eax, dword [esp + 0x44]
add esp, 0x10
test eax, eax
je 0x4e1f65
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
push edx
push eax
push 0x6b
push ebp
call fcn.004d2cc0
jmp 0x4e1f7f
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004eb1b0
mov edx, dword [esp + 0x64]
push 1
push edx
push ebp
call fcn.004c8ec0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
add esp, 0x10
lea edi, [ecx + 1]
push eax
push edi
push 0x30
push ebp
call fcn.004d2cc0
mov edx, dword [esp + 0x60]
push edx
push 0
push 0x61
push ebp
call fcn.004d2cc0
push ebp
call fcn.004d3170
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
push eax
push 1
push 0x31
push ebp
call fcn.004d2cc0
push edi
push 0x1a
push ebp
call fcn.004d30d0
mov ecx, dword [esp + 0x94]
add esp, 0x40
push ecx
push ebp
call fcn.004d3150
push ebp
call fcn.004d3170
mov edx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
add eax, 2
push eax
push edx
push 0x7f
push ebp
call fcn.004d2cc0
push edi
push 0x1a
push ebp
call fcn.004d30d0
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.004e4dd0
mov eax, dword [esp + 0x74]
add esp, 0x30
test eax, eax
je 0x4e202b
mov ecx, dword [esp + 0x54]
push 8
inc ecx
push ecx
push eax
push esi
call fcn.004d54b0
add esp, 0x10
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0xe0]
inc eax
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.004e2690
push edi
push 0x1a
push ebp
call fcn.004d30d0
mov edx, dword [esp + 0x74]
push edx
push ebp
call fcn.004d3150
lea eax, [esp + 0xa0]
push eax
push esi
call fcn.004e4d00
mov ecx, dword [esp + 0x80]
add esp, 0x44
push ecx
push 0x1a
push ebp
call fcn.004d30d0
add esp, 0xc
jmp 0x4e21d0
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
call fcn.004e4c80
add esp, 4
mov byte [esp + 0x3c], al
test al, al
je 0x4e20f3
mov edx, dword [ebx]
mov edi, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edx
push edi
call fcn.004d7100
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x40], eax
je 0x4e20f3
mov cl, byte [edi + 0x1e]
test cl, cl
jne 0x4e20f3
mov cl, byte [esp + 0x3c]
mov edx, dword [eax + 0xc]
cmp cl, 1
setne cl
mov byte [edx + 8], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov byte [edx], 0x97
lea eax, [esp + 0x64]
push eax
push esi
call fcn.004e4d00
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
push 0
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push esi
call fcn.004e76a0
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4e213a
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.004ca550
add esp, 8
jmp 0x4e2238
lea ecx, [esp + 0x64]
push ecx
push esi
call fcn.004e4e30
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x4e2169
mov al, byte [esp + 0x3c]
test al, al
je 0x4e2169
mov edx, dword [edi + 0x18]
push edx
push 0
push 0x61
push ebp
call fcn.004d2cc0
add esp, 0x10
push edi
call fcn.004eb1b0
lea eax, [esp + 0x68]
push eax
push esi
call fcn.004e4dd0
mov eax, dword [esp + 0x50]
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], 0
je 0x4e219e
mov ecx, dword [esp + 0x50]
push 8
push ecx
push eax
push esi
call fcn.004d54b0
add esp, 0x10
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0xe0]
push eax
push eax
mov eax, dword [ebx]
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
push eax
push ebx
push esi
call fcn.004e2690
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004ca550
add esp, 0x30
mov eax, dword [esp + 0x50]
push eax
push ebp
call fcn.004d3150
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e2200
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xe0]
push ecx
mov eax, dword [edx]
push eax
push ebp
push ebx
push esi
call fcn.004e2cb0
add esp, 0x14
mov ecx, dword [esp + 0x98]
push ecx
push ebp
call fcn.004d3150
mov edx, dword [esp + 0xe8]
add esp, 8
mov dword [esp + 0x14], 0
cmp byte [edx], 5
jne 0x4e2238
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push esi
call fcn.004e2f30
add esp, 0xc
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
push edx
push esi
call fcn.004b0830
mov eax, dword [esp + 0x8c]
push eax
push esi
call fcn.004b0830
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret