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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0x6c30d4
mov eax, 0x6c30d4
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x74]
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
xor ebx, ebx
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
xor ebp, ebp
mov byte [esp + 0x27], 1
call fcn.004cd1f0
add esp, 0x14
test al, al
je 0x4d0d8b
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x2c]
cmp byte [esi + ecx], 0x5b
jne 0x4d0d62
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], ebp
call fcn.004ca1e0
push eax
lea ecx, [esp + 0x5c]
call fcn.004c3960
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0a72
mov edx, dword [esp + 0x30]
push edx
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x58]
push eax
call fcn.004d0340
mov ecx, dword [esp + 0x5c]
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0a9c
mov eax, dword [esp + 0x5c]
push eax
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x58]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0ab6
mov eax, dword [esp + 0x58]
push eax
call fcn.004c6150
add esp, 4
mov ecx, dword [ebp]
cmp dword [ecx + 8], 0
je 0x4d0ac8
push 0xa
mov ecx, ebp
call fcn.004c3f20
mov edx, esi
sub edx, ebx
push edx
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.004c4020
push eax
mov ecx, ebp
call fcn.004c3d50
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0afc
mov eax, dword [esp + 0x34]
push eax
call fcn.004cc7c0
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov ebp, eax
mov dword [esp + 0x18], 0x6c30ac
mov ecx, 0x6c30ac
mov edx, 1
lock xadd dword [ecx], edx
push esi
push 0x5d
mov ecx, edi
call fcn.004c3fc0
mov ecx, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x4d0b67
lea edx, [esi + ecx]
cmp eax, edx
jge 0x4d0b67
sub eax, esi
dec eax
push eax
inc esi
push esi
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.004c4020
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
mov ecx, dword [esp + 0x38]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0ba0
mov eax, dword [esp + 0x38]
push eax
jmp 0x4d0b98
dec ecx
push ecx
inc esi
push esi
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov byte [esp + 0x1f], 0
call fcn.004c4020
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
mov edx, dword [esp + 0x3c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4d0ba0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004cc7c0
add esp, 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
call fcn.004c40f0
push eax
lea ecx, [esp + 0x1c]
call fcn.004c3960
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0bd2
mov edx, dword [esp + 0x40]
push edx
call fcn.004cc7c0
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push 0x5fce44
push eax
call fcn.004c3720
add esp, 8
test eax, eax
jne 0x4d0c38
mov eax, 0x6c30d4
cmp dword [esp + 0x14], eax
je 0x4d0d44
mov dword [esp + 0x20], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.004c3960
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0d44
mov edx, dword [esp + 0x20]
push edx
call fcn.004c6150
add esp, 4
jmp 0x4d0d44
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push str._general
push eax
call fcn.004c3720
add esp, 8
test eax, eax
jne 0x4d0c8f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
inc eax
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.004c7b10
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.004c3960
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0ceb
mov edx, dword [esp + 0x44]
push edx
call fcn.004c6150
add esp, 4
jmp 0x4d0ceb
mov eax, 0x6c30d4
cmp dword [esp + 0x14], eax
je 0x4d0ccf
mov dword [esp + 0x24], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.004c3960
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0ccf
mov edx, dword [esp + 0x24]
push edx
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
lea eax, [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004ccc20
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
cmp edx, 1
jne 0x4d0d03
mov ecx, dword [eax + 8]
inc ecx
cmp ecx, dword [eax + 4]
jle 0x4d0d1e
mov edx, dword [eax + 8]
inc edx
push edx
call fcn.004c5ea0
add esp, 4
push eax
lea ecx, [esp + 0x18]
call fcn.004c7260
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, 0x2f
mov word [edx + ecx*2], ax
mov eax, dword [esp + 0x14]
inc dword [eax + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
xor eax, eax
mov word [edx + ecx*2], ax
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0d62
mov eax, dword [esp + 0x18]
push eax
call fcn.004cc7c0
add esp, 4
inc dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.004cd1f0
add esp, 0x14
test al, al
jne 0x4d0a07
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], ebp
call fcn.004ca1e0
push eax
lea ecx, [esp + 0x68]
call fcn.004c3960
mov eax, dword [esp + 0x4c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d0de3
mov edx, dword [esp + 0x4c]
push edx
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x64]
push eax
call fcn.004d0340
mov ecx, dword [esp + 0x68]
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0e0d
mov eax, dword [esp + 0x68]
push eax
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x64]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0e27
mov eax, dword [esp + 0x64]
push eax
call fcn.004c6150
add esp, 4
mov ecx, dword [esi]
cmp dword [ecx + 8], 0
je 0x4d0e38
push 0xa
mov ecx, esi
call fcn.004c3f20
mov edx, dword [esp + 0x2c]
sub edx, ebx
push edx
push ebx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.004c4020
push eax
mov ecx, esi
call fcn.004c3d50
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
or edx, 0xffffffff
pop ebx
lock xadd dword [ecx], edx
jne 0x4d0e72
mov eax, dword [esp + 0x40]
push eax
call fcn.004cc7c0
add esp, 4
mov ecx, dword [esp + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d0e8c
mov eax, dword [esp + 4]
push eax
call fcn.004c6150
add esp, 4
mov al, byte [esp + 3]
add esp, 0x60
ret