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

Disassembly:
push 0xffffffffffffffff
push 0x44cb72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xde4
mov eax, dword [0x47dcd0]
push ebx
mov ebx, dword [esp + 0xdf8]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xdec], eax
mov eax, dword [ebx]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], esi
call dword [eax + 0x40]
lea ecx, [esp + 0x18]
mov edi, eax
call sub.nrapiTools.dll_public:_void___thiscall_CStr::constructor_void_
mov dword [esp + 0x18], vtable.CGLogStr.0
mov ecx, dword [edi + 8]
push ecx
mov ecx, 0x47fe18
mov dword [esp + 0xe00], 0
call fcn.0041a0c0
mov ebp, eax
test ebp, ebp
jge 0x41d5f8
mov eax, dword [edi + 8]
mov ecx, dword [0x47f8b0]
push eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov edx, dword [ecx]
add edi, 0xc
push edi
call dword [edx + 0x30]
push eax
lea eax, [esp + 0x90]
push str._s_s__08X.log
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x90]
mov ecx, dword [0x47f8b8]
mov edx, dword [ecx]
add esp, 0x14
push eax
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x70]
test al, al
je 0x41d64b
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042ef50
test al, al
je 0x41d64b
push 1
lea edx, [esp + 0x80]
push edx
mov ecx, 0x47fe18
call fcn.0041c0c0
jmp 0x41d64b
mov eax, dword [0x47fe18]
push ebp
mov ecx, 0x47fe18
call dword [eax + 0x38]
add eax, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.0042ee90
test al, al
je 0x41d64b
mov eax, dword [edi + 8]
mov ecx, dword [0x47f8b8]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x78]
test al, al
je 0x41d64b
mov edx, dword [0x47fe18]
push ebp
mov ecx, 0x47fe18
call dword [edx + 0x38]
add eax, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.0042ef50
lea ecx, [esp + 0x18]
call sub.nrapiTools.dll_public:_int___thiscall_CStr::Length_void_const
test eax, eax
lea ecx, [esp + 0x18]
je 0x41dad5
push 0x454eb8
call sub.nrapiTools.dll_public:_char____thiscall_CStr::operator_char__void_
mov edi, dword [0x450a9c]
push eax
call edi
add esp, 8
test eax, eax
je 0x41dad1
lea ecx, [esp + 0x10]
call dword [0x450314]
mov eax, dword [esi + 0x298]
test eax, eax
mov byte [esp + 0xdfc], 1
jge 0x41d6c2
mov dword [esi + 0x298], 0x50
mov dword [esi + 0x29c], 0x64
mov dword [esi + 0x2a0], 0xc8
mov dword [esi + 0x2a4], 0x78
push 0xef71
lea ecx, [esp + 0x14]
call dword [0x450310]
mov eax, dword [esi + 0x298]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
push 0
push ecx
lea ebp, [esi + 0x134]
push 0
mov ecx, ebp
mov dword [esp + 0x38], ebp
call fcn.0043fd3e
push 0xef3d
lea ecx, [esp + 0x14]
call dword [0x450310]
mov edx, dword [esi + 0x29c]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
push 0
push eax
push 1
mov ecx, ebp
call fcn.0043fd3e
push 0xef76
lea ecx, [esp + 0x14]
call dword [0x450310]
mov ecx, dword [esi + 0x2a0]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push 0
push edx
push 2
mov ecx, ebp
call fcn.0043fd3e
mov eax, dword [esi + 0x154]
push 0xa0
push 0
push 0x1024
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [0x47fa40]
test al, al
jne 0x41d76f
mov al, byte [0x47fa41]
test al, al
je 0x41d797
push 0xef75
lea ecx, [esp + 0x14]
call dword [0x450310]
mov ecx, dword [esi + 0x2a4]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push 1
push edx
push 3
mov ecx, ebp
call fcn.0043fd3e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
mov edx, dword [esi + 0x3c8]
lea ebx, [esi + 0x3c8]
mov ecx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ebx
call dword [edx + 0x10]
push 0x454eb8
lea ecx, [esp + 0x1c]
call sub.nrapiTools.dll_public:_char____thiscall_CStr::operator_char__void_
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x41da96
jmp 0x41d7e1
mov edi, dword [0x450a9c]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x9f0]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebp, esi
add esi, 7
push str._08d_SR:_s
push esi
call dword [0x450aa0]
push 0x454ea8
push esi
call edi
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41da92
add esi, 3
push str.ERR_END
push esi
call edi
push str.ERR_TS:
push esi
mov ebx, eax
call edi
add esp, 0x10
test ebx, ebx
mov byte [esp + 0x17], 0
je 0x41d846
test eax, eax
je 0x41d83d
cmp ebx, eax
jae 0x41d846
mov edi, ebx
sub edi, esi
sub edi, 0x14
jmp 0x41d865
push 0xa
push esi
call dword [0x450aa4]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41da8e
mov edi, ebx
mov byte [esp + 0x17], 1
sub edi, esi
cmp edi, 0x100
jg 0x41da8e
push edi
lea edx, [esp + 0x5f4]
push esi
push edx
call dword [0x450ab0]
mov al, byte [esp + 0x23]
add esp, 0xc
test al, al
mov byte [esp + edi + 0x5f0], 0
jne 0x41d897
lea esi, [ebx + 3]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x41d8f4
lea ecx, [esp + 0x30]
call sub.nrapiTools.dll_public:_void___thiscall_CStr::constructor_void_
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov byte [esp + 0xe00], 2
call dword [eax + 0x10]
test eax, eax
jl 0x41d8e1
mov edx, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x44]
lea ecx, [esp + 0x30]
call sub.nrapiTools.dll_public:_char____thiscall_CStr::Data_void_
push eax
lea ecx, [esp + 0x14]
call dword [0x450344]
lea ecx, [esp + 0x30]
mov byte [esp + 0xdfc], 1
call fcn.0043f090
jmp 0x41d90c
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push 0x454b9c
push eax
call dword [0x450374]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x400]
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
lea edx, [eax + 1]
mov dword [ecx + 0x400], edx
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push eax
push 1
mov ecx, ebx
call fcn.0043fcba
mov edx, dword [esp + 0x28]
mov edi, eax
lea eax, [esp + 0x9f0]
push eax
push 1
push edi
mov ecx, ebx
mov dword [esp + 0x190], edx
call fcn.0043fd38
push 0x100
lea ecx, [esp + 0x9f4]
push ecx
lea edx, [esp + 0x290]
push edx
call dword [0x450ab0]
add esp, 0xc
lea eax, [esp + 0x5f0]
push eax
push 2
push edi
mov ecx, ebx
mov byte [esp + 0x393], 0
call fcn.0043fd38
push 0x200
lea ecx, [esp + 0x5f4]
push ecx
lea edx, [esp + 0x3f8]
push edx
call dword [0x450ab0]
push 0xa
sub ebp, 0x14
lea eax, [esp + 0x4c]
push ebp
push eax
mov byte [esp + 0x607], 0
call dword [0x450ad4]
add ebp, 0xb
mov byte [esp + 0x5e], 0
mov byte [ebp + 8], 0
mov al, byte [0x47fa40]
add esp, 0x18
test al, al
jne 0x41d9e6
mov al, byte [0x47fa41]
test al, al
je 0x41da62
push 0x453f38
lea ecx, [esp + 0x14]
call dword [0x450344]
mov al, byte [0x47fa40]
test al, al
je 0x41da16
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x14]
push 0x454e94
push edx
call dword [0x450374]
add esp, 0xc
mov al, byte [0x47fa41]
test al, al
je 0x41da33
push ebp
lea eax, [esp + 0x14]
push 0x454e90
push eax
call dword [0x4507f0]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
push 3
push edi
mov ecx, ebx
call fcn.0043fd38
mov edx, dword [esp + 0x10]
push 0x40
push edx
lea eax, [esp + 0x3b8]
push eax
call dword [0x450ab0]
add esp, 0xc
mov byte [esp + 0x3ef], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 1
lea eax, [esp + 0x188]
push eax
call dword [edx + 0x2c]
push 0x454eb8
push esi
call dword [0x450a9c]
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d7d7
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x34]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x41dac7
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x38]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebp
call fcn.0043fe40
inc esi
cmp esi, edi
jl 0x41daa5
lea ecx, [esp + 0x10]
call dword [0x450304]
lea ecx, [esp + 0x18]
mov dword [esp + 0xdfc], 0xffffffff
call fcn.0043f090
mov ecx, dword [esp + 0xdf4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xde4]
pop ebx
call fcn.004407ce
add esp, 0xdf0
ret 4