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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4e24a0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4e2930
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [esi + 0x92], 0
je 0x4e24d2
mov edx, esi
mov eax, dword [esi + 0x94]
call dword [esi + 0x90]
xor edx, edx
mov eax, esi
call fcn.004e2004
mov dl, 1
mov eax, esi
call fcn.004e2004
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0xc]
mov al, byte [esi + 0x81]
mov byte [ebx + 0x2c], al
mov al, byte [esi + 0x82]
mov byte [ebx + 0x2d], al
lea eax, [ebx + 0x10]
mov edx, dword [esi + 0x64]
call fcn.00404280
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0x60]
call fcn.004087b0
cmp dword [ebp - 0x14], 0
je 0x4e2542
push 0x4e2948
push dword [esi + 0x60]
push 0x4e2954
push dword [esi + 0x5c]
push 0x4e2960
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0xc]
add eax, 4
mov edx, 5
call fcn.004045ac
jmp 0x4e2553
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0xc]
add eax, 4
mov edx, dword [esi + 0x5c]
call fcn.00404280
mov eax, dword [esi + 0x74]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e257b
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x74]
call fcn.0041701c
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x30
call fcn.00404280
cmp byte [esi + 0x40], 0
je 0x4e25a4
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0xc]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x1c]
mov edx, 0x4e296c
call fcn.00404538
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [esi + 0x41], 0
je 0x4e25cd
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0xc]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x20]
mov edx, 0x4e2994
call fcn.00404538
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x28
mov edx, 0x4e29b0
call fcn.00404280
mov dl, 2
mov eax, esi
call fcn.004e2004
cmp byte [esi + 0x58], 0
je 0x4e2607
mov eax, dword [esi + 0x68]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e2607
mov eax, dword [esi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x4e260b
xor ebx, ebx
jmp 0x4e260d
mov bl, 1
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4e29cc
mov edx, 0x4e29dc
mov eax, ebx
call fcn.0042d8f4
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [esi + 0x38]
call fcn.004e1194
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dl, byte [esi + 0x81]
mov byte [eax + 0x20], dl
mov eax, dword [ebp - 8]
mov dl, byte [esi + 0x82]
mov byte [eax + 0x21], dl
mov al, byte [esi + 0x81]
cmp al, byte [esi + 0x82]
setne al
mov edx, dword [ebp - 8]
mov byte [edx + 0x6d], al
mov eax, dword [esi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e26f0
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x38]
call fcn.004e1174
mov edi, eax
mov edx, dword [edi + 0x4c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4e29f0
mov eax, edi
call fcn.004df834
lea eax, [edi + 0xc]
mov edx, 0x4e2a00
call fcn.00404280
lea eax, [edi + 0x24]
mov edx, 0x4e2a10
call fcn.00404280
lea eax, [edi + 0x28]
mov edx, 0x4e2a28
call fcn.00404280
mov al, byte [esi + 0x81]
mov byte [edi + 0x20], al
mov al, byte [esi + 0x82]
mov byte [edi + 0x21], al
mov al, byte [esi + 0x81]
cmp al, byte [esi + 0x82]
setne al
mov byte [edi + 0x6d], al
mov byte [edi + 0x14], 3
mov eax, edi
call fcn.004def94
mov eax, edi
call fcn.004df2c4
test bl, bl
je 0x4e2734
mov ecx, dword [ebp - 8]
mov edx, 0x4e2a38
mov eax, dword [esi + 0x38]
call fcn.004e1194
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dl, byte [esi + 0x81]
mov byte [eax + 0x20], dl
mov eax, dword [ebp - 8]
mov dl, byte [esi + 0x82]
mov byte [eax + 0x21], dl
mov al, byte [esi + 0x81]
cmp al, byte [esi + 0x82]
setne al
mov edx, dword [ebp - 8]
mov byte [edx + 0x6d], al
cmp byte [esi + 0x58], 0
je 0x4e27cf
mov eax, dword [esi + 0x68]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e27cf
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x38]
call fcn.004e1174
mov ebx, eax
mov edx, dword [ebx + 0x4c]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4e29f0
mov eax, ebx
call fcn.004df834
lea eax, [ebx + 0xc]
mov edx, 0x4e2a48
call fcn.00404280
lea eax, [ebx + 0x24]
mov edx, 0x4e2a58
call fcn.00404280
lea eax, [ebx + 0x28]
mov edx, 0x4e2a28
call fcn.00404280
mov al, byte [esi + 0x81]
mov byte [ebx + 0x20], al
mov al, byte [esi + 0x82]
mov byte [ebx + 0x21], al
mov al, byte [esi + 0x81]
cmp al, byte [esi + 0x82]
setne al
mov byte [ebx + 0x6d], al
mov byte [ebx + 0x14], 3
mov eax, ebx
call fcn.004def94
mov eax, ebx
call fcn.004df2c4
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4e28f7
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x70]
call fcn.004e1d28
mov edi, eax
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040859c
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [edi + 8]
call fcn.0040859c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x4e2a6c
call fcn.00404538
mov eax, dword [ebp - 0x30]
pop edx
call fcn.00404830
test eax, eax
setg byte [ebp - 9]
push 0
push 0
mov eax, dword [edi + 0xc]
call fcn.00418214
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x38]
call fcn.004e1174
mov ebx, eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0x4c]
call fcn.0041891c
lea eax, [ebx + 0x24]
mov edx, dword [edi + 8]
call fcn.00404280
mov al, byte [edi + 0x10]
dec al
jne 0x4e287f
lea eax, [ebx + 0x28]
mov edx, 0x4e2a28
call fcn.00404280
jmp 0x4e288c
lea eax, [ebx + 0x28]
mov edx, 0x4e2a78
call fcn.00404280
mov al, byte [esi + 0x58]
and al, byte [ebp - 9]
je 0x4e289f
lea eax, [ebx + 0x2c]
mov edx, dword [edi + 8]
call fcn.00404280
lea edx, [ebp - 0x38]
mov eax, dword [edi + 4]
call fcn.004092a8
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x34]
call fcn.00404280
mov byte [ebx + 0x14], 3
mov byte [ebx + 8], 3
mov al, byte [esi + 0x82]
mov byte [ebx + 0x20], al
mov al, byte [esi + 0x82]
mov byte [ebx + 0x21], al
mov byte [ebx + 0x6d], 0
mov edx, dword [edi + 4]
mov eax, ebx
call fcn.004df700
mov eax, ebx
call fcn.004def94
mov eax, ebx
call fcn.004df2c4
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x4e27e9
mov eax, dword [esi + 0x38]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [esi + 0x3c]
call fcn.00418904
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2937
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.00404250
ret