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

Disassembly:
sub esp, 0x200
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0xcc]
push eax
call edi
lea ecx, [esi + 0xe4]
push ecx
call edi
lea edx, [esi + 0xfc]
push edx
call edi
call fcn.00401660
push 0xc
call fcn.0044a5dd
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x41d4db
mov ecx, eax
call fcn.0042c860
jmp 0x41d4dd
xor eax, eax
mov dword [esi], eax
mov edi, 0xff
mov eax, dword [edi*4 + 0x4795a8]
cmp eax, ebx
je 0x41d4f8
mov ecx, dword [esi]
push edi
push eax
call fcn.0042c8f0
dec edi
jns 0x41d4e4
push 0xc
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d512
mov ecx, eax
call fcn.0042c860
jmp 0x41d514
xor eax, eax
push 0x10
mov dword [esi + 4], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
mov ebp, 1
je 0x41d534
push ebp
mov ecx, eax
call fcn.00449af0
jmp 0x41d536
xor eax, eax
push 0x10
mov dword [esi + 8], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d551
push ebp
mov ecx, eax
call fcn.00449af0
jmp 0x41d553
xor eax, eax
push 0x10
mov dword [esi + 0xc], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d56e
push ebx
mov ecx, eax
call fcn.00449af0
jmp 0x41d570
xor eax, eax
push 0x10
mov dword [esi + 0x10], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d58b
push ebp
mov ecx, eax
call fcn.00449af0
jmp 0x41d58d
xor eax, eax
push 0x10
mov dword [esi + 0x14], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d5a8
push ebp
mov ecx, eax
call fcn.00449af0
jmp 0x41d5aa
xor eax, eax
push 0x10
mov dword [esi + 0x18], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d5c4
mov ecx, eax
call fcn.004499d0
jmp 0x41d5c6
xor eax, eax
push 0x10
mov dword [esi + 0x1c], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d5e1
push ebx
mov ecx, eax
call fcn.00449af0
jmp 0x41d5e3
xor eax, eax
push 0x10
mov dword [esi + 0x20], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d5fe
push ebx
mov ecx, eax
call fcn.00449af0
jmp 0x41d600
xor eax, eax
push 0x10
mov dword [esi + 0x24], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d61b
push ebx
mov ecx, eax
call fcn.00449af0
jmp 0x41d61d
xor eax, eax
mov dword [esi + 0x28], eax
mov ecx, 0x264
mov eax, 0x318
push 0x10
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 2
mov dword [esi + 0x2c], ebx
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d66d
push ebx
mov ecx, eax
call fcn.00449af0
jmp 0x41d66f
xor eax, eax
push 0x10
mov dword [esi + 0x60], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d689
mov ecx, eax
call fcn.004499d0
jmp 0x41d68b
xor eax, eax
push 0x10
mov dword [esi + 0x64], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d6a5
mov ecx, eax
call fcn.004499d0
jmp 0x41d6a7
xor eax, eax
push 8
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d6db
push str.Latin1
mov ecx, eax
call fcn.004494d0
jmp 0x41d6dd
xor eax, eax
push 0x10
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], ebx
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d70c
mov ecx, eax
call fcn.004499d0
jmp 0x41d70e
xor eax, eax
push 8
mov dword [esi + 0x94], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d730
push 0x4614f8
mov ecx, eax
call fcn.004494d0
jmp 0x41d732
xor eax, eax
push 8
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d781
push 4
mov ecx, eax
call fcn.00402430
jmp 0x41d783
xor eax, eax
push 8
mov dword [esi + 0xbc], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d7a2
push 4
mov ecx, eax
call fcn.00402430
jmp 0x41d7a4
xor eax, eax
push 0x10
mov dword [esi + 0xc0], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d7c1
mov ecx, eax
call fcn.00403690
jmp 0x41d7c3
xor eax, eax
push 0x10
mov dword [esi + 0xc4], eax
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d7e0
mov ecx, eax
call fcn.00403690
jmp 0x41d7e2
xor eax, eax
mov dword [esi + 0xc8], eax
mov eax, dword [0x47c474]
cmp eax, ebx
je 0x41d80d
mov edi, 0x47c474
mov ecx, dword [edi - 4]
push ecx
mov ecx, dword [esi + 4]
push eax
call fcn.0042c8f0
mov eax, dword [edi + 8]
add edi, 8
cmp eax, ebx
jne 0x41d7f6
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d831
push 0x3a
push 0x47e650
push ebx
push str.Latin1
mov ecx, eax
call fcn.0043db20
jmp 0x41d833
xor eax, eax
mov edx, dword [eax]
mov ecx, dword [esi + 0x10]
push eax
push edx
call fcn.00449ef0
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d866
push 0x81
push 0x47e9f0
push ebx
push str.ASCII7
mov ecx, eax
call fcn.0043db20
jmp 0x41d868
xor eax, eax
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [eax]
push eax
call fcn.00449ef0
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d898
push 0x79
push 0x47f200
push ebx
push str.Symbol
mov ecx, eax
call fcn.0043db20
jmp 0x41d89a
xor eax, eax
mov ecx, dword [eax]
push eax
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00449ef0
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d8ca
push 0x1e
push 0x47f990
push ebx
push str.ZapfDingbats
mov ecx, eax
call fcn.0043db20
jmp 0x41d8cc
xor eax, eax
mov edx, dword [eax]
mov ecx, dword [esi + 0x10]
push eax
push edx
call fcn.00449ef0
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d8fa
push 0x41a450
push ebp
push str.UTF_8
mov ecx, eax
call fcn.0043db90
jmp 0x41d8fc
xor eax, eax
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [eax]
push eax
call fcn.00449ef0
push 0x38
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d92a
push 0x41a520
push ebp
push str.UCS_2
mov ecx, eax
call fcn.0043db90
jmp 0x41d92c
xor eax, eax
mov ecx, dword [eax]
push eax
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00449ef0
mov edi, dword [esp + 0x214]
cmp edi, ebx
je 0x41d98e
cmp byte [edi], bl
je 0x41d98e
push 8
call fcn.0044a5dd
add esp, 4
cmp eax, ebx
je 0x41d961
push edi
mov ecx, eax
call fcn.004494d0
mov edi, eax
jmp 0x41d963
xor edi, edi
mov eax, dword [edi + 4]
push 0x45c4c4
push eax
call fcn.0044a858
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x41da34
mov ecx, edi
call fcn.004495a0
push edi
call fcn.0044a5d8
add esp, 4
push str.xpdfrc
call fcn.004497d0
push eax
call fcn.00449940
mov edi, eax
mov eax, dword [edi + 4]
push 0x45c4c4
push eax
call fcn.0044a858
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
jne 0x41da34
mov ecx, edi
call fcn.004495a0
push edi
call fcn.0044a5d8
add esp, 4
push 0x200
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
jle 0x41d9e3
cmp eax, 0x200
jb 0x41d9e7
mov byte [esp + 0x10], bl
lea eax, [esp + 0x10]
push eax
call fcn.00449820
mov edi, eax
push str.xpdfrc
push edi
call fcn.00449940
mov eax, dword [edi + 4]
push 0x45c4c4
push eax
call fcn.0044a858
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
jne 0x41da34
mov ecx, edi
call fcn.004495a0
push edi
call fcn.0044a5d8
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret 4
push ebp
push edi
mov ecx, esi
call fcn.0041c7b0
mov ecx, edi
call fcn.004495a0
push edi
call fcn.0044a5d8
push ebp
call fcn.0044a7d8
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret 4