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

Disassembly:
push 0xffffffffffffffff
push 0x53efc6
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58ab78]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0xa0]
lea edi, [ebp + 4]
mov dword [ebp], eax
mov ecx, edi
mov dword [esp + 0x28], ebp
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004deea0
mov dword [edi], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x5c]
mov byte [esp + 0x98], 1
push eax
call fcn.004e4900
add esp, 4
or ebx, 0xffffffff
mov byte [esp + 0x98], 2
cmp dword [esp + 0x6c], 0
je 0x4ddf27
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x20]
call fcn.004f1470
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4dde33
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4dde33
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4dde33
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4dde65
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4dde65
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4dde65
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp dword [esp + 0x18], 0
jne 0x4ddf32
push str.Unable_to_open_message_catalog:
lea ecx, [esp + 0x78]
call fcn.00427910
lea eax, [esp + 0x5c]
mov byte [esp + 0x98], 3
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004da0b0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x98], 4
jb 0x4ddead
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
call fcn.004a14f7
mov dword [esp + 0x2c], vtable.std::runtime_error.0
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x98], 6
jb 0x4ddee2
push dword [esp + 0x44]
call fcn.0047d4a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.00502a20
lea ecx, [esp + 0x2c]
call fcn.004a156b
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0x98], 2
jb 0x4ddf27
push dword [esp + 0x74]
call fcn.0047d4a0
add esp, 4
cmp dword [esp + 0x18], 0
je 0x4de003
mov bl, 1
mov ebp, 1
mov byte [esp + 0x20], bl
lea ecx, [ecx]
push dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.004e49e0
push eax
push ebp
push dword [esi]
lea edx, [esp + 0x24]
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x38]
call fcn.004f13c0
cmp dword [esp + 0x58], 8
mov byte [esp + 0x98], 9
jb 0x4ddf88
push dword [esp + 0x44]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
xor esi, esi
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
cmp dword [esp + 0x3c], eax
jbe 0x4ddfd2
jmp 0x4ddfb0
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
mov ecx, edi
cmovae eax, dword [esp + 0x2c]
lea eax, [eax + esi*2]
push eax
call fcn.004dec90
inc esi
mov byte [eax], bl
cmp esi, dword [esp + 0x3c]
jb 0x4ddfb0
cmp dword [esp + 0x40], 8
mov byte [esp + 0x98], 2
jb 0x4ddfed
push dword [esp + 0x2c]
call fcn.0047d4a0
add esp, 4
inc bl
inc ebp
mov byte [esp + 0x20], bl
cmp bl, 0x3c
jb 0x4ddf40
mov ebp, dword [esp + 0x14]
jmp 0x4de03b
mov bl, 1
mov cl, bl
call fcn.00502b70
mov esi, eax
test esi, esi
je 0x4de034
mov cl, byte [esi]
test cl, cl
je 0x4de034
movsx ax, cl
mov ecx, edi
movzx eax, ax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004dec90
mov byte [eax], bl
inc esi
jne 0x4de012
inc bl
cmp bl, 0x3c
jb 0x4de005
cmp dword [esp + 0x70], 0x10
jb 0x4de04e
push dword [esp + 0x5c]
call fcn.0047d4a0
add esp, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0x98], 0
test esi, esi
je 0x4de09e
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4de09e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea edx, [esi + 8]
lock xadd dword [edx], edi
cmp edi, 1
jne 0x4de09e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0049f3ce
add esp, 0x88
ret 4