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

Disassembly:
push 0xffffffffffffffff
push 0x542a80
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ede4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x78], edi
call fcn.00411176
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409257
push 0x80004005
call fcn.0040efe0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x84]
push ecx
lea edx, [esp + 0x18]
push 0x56d358
push edx
call fcn.0040efa0
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
call dword [0x5464cc]
test eax, eax
jne 0x40936f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push str.swedish_finland
push ecx
call fcn.0040e730
push str._________________________________H
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x90], 2
call fcn.0040e8f0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [0x546430]
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40931c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40933d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x409669
call fcn.00409150
mov ebp, eax
mov dword [esp + 0x30], ebp
cmp ebp, edi
jne 0x40938b
push 0x56d38c
call dword [0x546430]
jmp 0x40931c
call fcn.00411176
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4093a5
push 0x80004005
call fcn.0040efe0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x78], 3
mov ecx, dword [esp + 0x84]
push ecx
push ebp
lea edx, [esp + 0x20]
push 0x56d3c0
push edx
call fcn.0040efa0
push 0x3c
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00506770
mov ecx, dword [esp + 0x34]
add esp, 0x1c
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call dword [0x5464ac]
mov eax, dword [esp + 0x6c]
push 0xffffffffffffffff
push eax
call dword [0x5463d4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push 0x56d3d0
push edx
call fcn.0040e730
push 0x56d3cc
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x90], 4
call fcn.0040e8f0
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x44]
mov bl, 5
push edx
mov byte [esp + 0x9c], bl
call fcn.0040b3c0
push str._________________________________H
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xa8], 6
call fcn.0040e8f0
mov eax, dword [eax]
add esp, 0x30
push eax
call dword [0x546430]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00411176
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40953b
push 0x80004005
call fcn.0040efe0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebp
lea ecx, [esp + 0x20]
push str.spanish_panama
push ecx
mov byte [esp + 0x84], 7
call fcn.0040efa0
mov ebp, dword [0x546458]
mov ebx, dword [0x54643c]
mov esi, dword [esp + 0x28]
add esp, 0xc
cmp edi, 0x28
jg 0x40967f
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push esi
call ebp
push 0x1f4
call ebx
push esi
inc edi
call dword [0x5464cc]
test eax, eax
je 0x409576
push esi
call dword [0x5463fc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
push ecx
add edx, 0xe8
push 0x56d3f0
push edx
call fcn.0040efa0
add esi, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x78], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4095ef
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8
add esi, 0xfffffff0
mov byte [esp + 0x78], 3
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4096a0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x409324