Function at 0x413910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c26f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4ac44c]
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x38], 4
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.mydata_type
call fcn.0047fced
lea esi, [ebp + 0x9cc]
mov ecx, esi
call fcn.0044de70
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0047f9f4
lea edi, [ebp + 0x5c]
mov ecx, edi
call fcn.00416fa0
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.mydata_IMType
call fcn.0047fced
mov ecx, esi
call fcn.0044de70
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0047f9f4
mov ecx, edi
call fcn.004171d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4139e3
push 0x4a82e8
lea ecx, [esp + 0x14]
call fcn.0047fe08
lea ecx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.mydata_remarks
call fcn.0047fced
mov ecx, esi
call fcn.0044de70
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0047f9f4
mov ecx, edi
call fcn.00417160
mov ecx, edi
call fcn.00416a70
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.IMValue
call fcn.0047fced
mov ecx, esi
call fcn.0044de70
push 0x4a82cc
lea ecx, [esp + 0x10]
call fcn.00479e45
cmp eax, 0xffffffff
jne 0x413ae8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x413ae8
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
jle 0x413ae8
lea eax, [esp + 0xc]
push 0x4a82cc
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0047ff14
lea edx, [esp + 0x10]
mov byte [esp + 0x38], 5
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0047feae
push 0x4a82c8
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x44], 6
call fcn.0047ff14
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 7
call fcn.0047fdb8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 6
call fcn.0047fc7f
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 5
call fcn.0047fc7f
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.0047fc7f
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0047f9f4
mov ecx, edi
call fcn.00417240
push 0x4a8204
lea ecx, [esp + 0x18]
call fcn.0047a231
push 0x4a8204
lea ecx, [esp + 0x18]
call fcn.0047a1de
mov eax, dword [esp + 0x18]
push eax
call fcn.0045b058
add esp, 4
cmp eax, 1
jl 0x413b5a
cmp eax, 6
jg 0x413b5a
mov ecx, dword [esp + 0x14]
push 0x4b15a0
push ecx
call fcn.0045b063
add esp, 8
test eax, eax
jne 0x413b51
mov eax, dword [esp + 0x28]
test eax, eax
je 0x413b5a
mov dword [ebp + 0x7c], 1
jmp 0x413b61
mov dword [ebp + 0x7c], 0
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0047f9f4
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call fcn.0047fc7f
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.0047fc7f
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.0047fc7f
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0047fc7f
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 4